HELP :/
#4

pawn Код:
new bool:spawned[MAX_PLAYERS]=false;

OnPlayerSpawn(playerid..)
{
    spawned[playerid]=true;
}

OnPlayerCommandText(playerid.....)
{
    if(spawned[playerid]==true){

        //All your commands

    }
    else SendClientMessage(playerid, 0xFFFFFF, "You have to spawn to use any commands.");
}
Reply


Messages In This Thread
HELP :/ - by MiGu3X - 18.02.2013, 18:28
Re: HELP :/ - by Boooth - 18.02.2013, 18:36
Respuesta: HELP :/ - by MiGu3X - 18.02.2013, 18:37
Re: HELP :/ - by DrDoom151 - 18.02.2013, 18:41
Re: HELP :/ - by SilverKiller - 18.02.2013, 18:44
Re: HELP :/ - by Boooth - 18.02.2013, 18:48
Re: HELP :/ - by DrDoom151 - 18.02.2013, 18:53
Respuesta: HELP :/ - by MiGu3X - 18.02.2013, 19:05
Re: Respuesta: HELP :/ - by SilverKiller - 18.02.2013, 19:07
Respuesta: HELP :/ - by MiGu3X - 18.02.2013, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)