18.02.2013, 18:44
(
Последний раз редактировалось SilverKiller; 18.02.2013 в 19:22.
)
Here is an example...
First, Create a New Spawned like this:
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)
After that, in your OnPlayerSpawn, Put this
And to check if he is spawned:
Hope i helped.
EDIT: when i was typing the message the poster above me answered -_-
First, Create a New Spawned like this:
pawn Код:
new bool:Spawned[MAX_PLAYERS];
pawn Код:
Spawned[playerid] = 0;
pawn Код:
Spawned[playerid] = 1;
pawn Код:
if(Spawned[playerid] == 0)
// Your code if he is not spawned
pawn Код:
if(Spawned[playerid] == 1)
//Your code
EDIT: when i was typing the message the poster above me answered -_-