HELP :/
#5

Here is an example...

First, Create a New Spawned like this:

pawn Код:
new bool:Spawned[MAX_PLAYERS];
Then on the request class AND OnPlayerConnect (as i understanded you , you meant that if he didnt choose a skin, he cant do a command)

pawn Код:
Spawned[playerid] = 0;
After that, in your OnPlayerSpawn, Put this

pawn Код:
Spawned[playerid] = 1;
pawn Код:
if(Spawned[playerid] == 0)
// Your code if he is not spawned
And to check if he is spawned:

pawn Код:
if(Spawned[playerid] == 1)
//Your code
Hope i helped.

EDIT: when i was typing the message the poster above me answered -_-
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)