pawn Код:
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);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha","Humano\r\n2. Zombie\r\n3","Escolher", "Kick");
if(dialogid == 1)
{
if(response)
{
if(listitem == 0)//numero 1 da lista
{
if(Equipes[playerid] == 1)
{
SpawnPlayer(playerid);
Equipes[playerid] = 1;
SetPlayerSkin(playerid, 14);
}
}
}
}
C:\Documents and Settings\Administrador\Desktop\TDM Max\gamemodes\ZombieGMA.pwn(3
: error 017: undefined symbol "dialogid"
C:\Documents and Settings\Administrador\Desktop\TDM Max\gamemodes\ZombieGMA.pwn(40) : error 017: undefined symbol "response"
C:\Documents and Settings\Administrador\Desktop\TDM Max\gamemodes\ZombieGMA.pwn(42) : error 017: undefined symbol "listitem"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.