Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function OnPlayerRequestClass(playerid, classid)
- {
- if(IsPlayerNPC(playerid)) return 1;
- if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0)
- {
- ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","{E6E6E6}Dein {FF3C00}Account {E6E6E6}wurde in unserer Datenbank erfolgreich gefunden\nLogge dich bitte mit {FF0A00}deinem Passwort ein\n\n\n","Login","Abbrechen");
- }
- else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0)
- {
- ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"Account","{E6E6E6}Willkommen auf {FFAA00}Nestra almao-eSports RealLife v1\n {E6E6E6}Wie wir sehen hast du noch keinen Account\nBite Registriere dich\n\n\n","Anlegen","Nein");
- }
- PlayerPlaySound(playerid, 1176, 0.0, 0.0, 0.0);
- PlayerInfo[playerid][pModel] = Peds[classid][0];
- SetPlayerTeamFromClass(playerid,classid);
- SetupPlayerForClassSelection(playerid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment