25.09.2012, 08:51
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
ShowPlayerDialog(playerid, 999, DIALOG_STYLE_LIST, "{6EF83C}Choose A Class:", "Soldier Class\nSniper Class\nEngineer Class\nJet-Trooper Class\nPilot Class\nSpy Class", "Choose","");//this is the class dialog, you can change it if you want but dont forget to define the class also
return 1;
}
if(PInfo[playerid][Logged] == 0) return SendClientMessage(playerid,red,"You must register or login before spawning!");
Kick(id);
return 1;
}
pawn Код:
C:\Users\Bichan\Desktop\UKTDM\gamemodes\UKTDM.pwn(621) : error 010: invalid function or declaration
C:\Users\Bichan\Desktop\UKTDM\gamemodes\UKTDM.pwn(623) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
"You will be kicked if you dont login in 15 seconds"