ShowPlayerDialog(playerid,DIALOG_TUTSTEP1,DIALOG_STYLE_MSGBOX,"[RFR] Tutorial Information","Herzlich Willkommen auf Oldschool 1808, damit du dich in Zukunft\nbesser Zurecht findest, wird dir dieses [color=#0000ff]Tutorial helfen!\nBitte beachte dabei, dass wir zwischendurch Fragen gestellt werden!","Okay","");
}
}
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_REGSTEP_3,DIALOG_STYLE_LIST,"Woher kommst du?","Deutschland\nÖsterreich\nSchweiz\nTürkei","Weiter","");
}
}
return 1;[/color]
}
}
if(dialogid == DIALOG_RULES)
{
if(response)
{
if(listitem == 0)
{
new string1[220],string2[350],string3[280],rest[900];
format(string2, sizeof string2, "*\t/stats /buylevel /upgrade/\n*\t/pay /time /buy /show /id /drink /clothes /members /regeln\n*\t/resetupgrades /tanken /skill /licenses /lotto /spawnchange\n*\t/cancel /accept /eject /usedrugs /contract /fillcar /service\n*\t/propose /divorce /lehrer /togooc /tognews /togfam (/sup)port\n*\t(/a)dmin (/sup)port (/s)hout (/ad)vertise /me\n\n");
format(rest, sizeof rest, "%s\n%s\n%s\n", string1,string2,string3);
ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYLE_LIST,"User Hilfe",rest,"Ok","");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid,pwchange, DIALOG_STYLE_INPUT,"Passwort Panel","Gib bitte dein neues Passwort an","Annehmen","Abbrechen");
}
Das blau makiere ist ein anderer Befehl.
Diese Fehler treten auf:
error 010: invalid function or declaration
error 010: invalid function or declaration
error 021: symbol already defined: "format"
error 010: invalid function or declaration
Bin gerade etwas weiter gekommen habe trotzdem noch kleine Probleme:
SetPlayerPos(playerid,-691.9375,939.5940,13.6328);
SetPlayerFacingAngle(playerid,263.5031);
SetPlayerCameraPos(playerid,-687.0352,939.7754,13.6328);
SetPlayerCameraLookAt(playerid,-691.9375,939.5940,13.6328);
ShowPlayerDialog(playerid,DIALOG_TUTSTEP1,DIALOG_STYLE_MSGBOX,"[RFR] Tutorial Information","Herzlich Willkommen auf Oldschool 1808, damit du dich in Zukunft\nbesser Zurecht findest, wird dir dieses Tutorial helfen!\nBitte beachte dabei, dass wir zwischendurch Fragen gestellt werden!","Okay","");
}
}
}
if(response == 0)
{
ShowPlayerDialog(playerid,DIALOG_REGSTEP_3,DIALOG_STYLE_LIST,"Woher kommst du?","Deutschland\nÖsterreich\nSchweiz\nTürkei","Weiter","");
}
}
return 1;
}
if(dialogid == DIALOG_RULES)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYLE_MSGBOX,"User Hilfe",rest,"Ok","");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid,pwchange, DIALOG_STYLE_INPUT,"Passwort Panel","Gib bitte dein neues Passwort an","Annehmen","Abbrechen");
}
}
}
error 010: invalid function or declaration
error 010: invalid function or declaration
error 010: invalid function or declaration
error 010: invalid function or declaration
Und ich will das statt dem:
ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYLE_MSGBOX,"User Hilfe",rest,"Ok","");
Das da ist:
new string1[220],string2[350],string3[280],rest[900];
format(string2, sizeof string2, "*\t/stats /buylevel /upgrade/\n*\t/pay /time /buy /show /id /drink /clothes /members /regeln\n*\t/resetupgrades /tanken /skill /licenses /lotto /spawnchange\n*\t/cancel /accept /eject /usedrugs /contract /fillcar /service\n*\t/propose /divorce /lehrer /togooc /tognews /togfam (/sup)port\n*\t(/a)dmin (/sup)port (/s)hout (/ad)vertise /me\n\n");
format(rest, sizeof rest, "%s\n%s\n%s\n", string1,string2,string3);
ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYLE_MSGBOX,"User Hilfe",rest,"Ok","");