HELP :/
#6

DrDoom your methods appear outdated, I'm going to assume you are going to use a command processor like zcmd or similar.

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

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

OnPlayerCommandPerformed(playerid.....)
{
    if(spawned[playerid] == false) return SendClientMessage(playerid, -1, "You need to login/spawn before you can use commands.");;
    return1;
}
Something like that would be more efficient.
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)