Das ist er bisher, wollte grad nen Register bzw. Loginsystem machen. Ich weiß, dass ich das DIALOG_REGISTER definen muss, aber wie? --> Errors stehen unten.
#include <a_samp>
main()
{
print("\n********************");
print(" LS-Streetlife [RP]");
print("********************\n");
}
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText(" ");
AddPlayerClass(6, 1722.3123,-1631.0365,20.2145,359.1486, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Gib bitte dein gewünschtes Passwort ein:","Register","Abbrechen");
return 1;
}
Das sind die Probleme.
error 017: undefined symbol "DIALOG_REGISTER"
warning 217: loose indentation