Warning + A Question
#10

returning 0 on OnPlayerRequestSpawn() prevents the player from spawning. i would use a global variable, and then check if it equals to 60.

pawn Code:
public OnPlayerRequestSpawn(playerid)
{
    if(someVar == 60)
    {
        return 0;
    }
    // rest of the code here
    return 1;
}
Reply


Messages In This Thread
Warning + A Question - by nuriel8833 - 02.02.2012, 11:16
Re: Warning + A Question - by Wesley221 - 02.02.2012, 11:20
Re: Warning + A Question - by T0pAz - 02.02.2012, 11:21
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 11:23
Re: Warning + A Question - by SampLoverNo123 - 02.02.2012, 11:27
Re: Warning + A Question - by Wesley221 - 02.02.2012, 11:30
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 11:34
Re: Warning + A Question - by MP2 - 02.02.2012, 11:39
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 11:43
Re: Warning + A Question - by [Diablo] - 02.02.2012, 12:22
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 12:35
Re: Warning + A Question - by Tannz0rz - 02.02.2012, 13:07

Forum Jump:


Users browsing this thread: 1 Guest(s)