Why doesn't this work?
#4

Uh f*
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(PInfo[playerid][Logged] == 1)
    {
    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
    }
    else
    {
    SendClientMessage(playerid,red,"You must register or login before spawning! You will be kicked in 15 seconds if you don't register");
    SetTimerEx("LoginKick", 15000,false, "d", playerid);
    }
    return 1;
}
Missed one brace '}'
Reply


Messages In This Thread
Why doesn't this work? - by Biess - 25.09.2012, 08:51
Re: Why doesn't this work? - by Jarnu - 25.09.2012, 08:56
Re: Why doesn't this work? - by Biess - 25.09.2012, 08:59
Re: Why doesn't this work? - by Jarnu - 25.09.2012, 09:01
Re: Why doesn't this work? - by Biess - 25.09.2012, 09:02
Re: Why doesn't this work? - by XtremeR - 25.09.2012, 09:04
Re: Why doesn't this work? - by Biess - 25.09.2012, 09:05
Re: Why doesn't this work? - by Jarnu - 25.09.2012, 09:06
Re: Why doesn't this work? - by XtremeR - 25.09.2012, 09:07
Re: Why doesn't this work? - by Biess - 25.09.2012, 09:08

Forum Jump:


Users browsing this thread: 1 Guest(s)