Stop Teleport?
#4

Ye
Create this:

pawn Код:
new Teleport[MAX_PLAYERS];
Then in OnPlayerConnect And OnPlayerRequestClass Put this:

pawn Код:
Teleport[playerid] = 1;
And In OnPlayerSpawn, Put this :

pawn Код:
Teleport[playerid] = 0;
Then in your command put this:

pawn Код:
if(Teleport[playerid] == 1) // Means if he is not spawned
// Your code
Hope i helped.
Reply


Messages In This Thread
Stop Teleport? - by DarkB0y - 03.03.2013, 16:46
Re: Stop Teleport? - by AIped - 03.03.2013, 16:51
Re: Stop Teleport? - by DarkB0y - 03.03.2013, 17:02
Re: Stop Teleport? - by SilverKiller - 03.03.2013, 17:48
Re: Stop Teleport? - by ReVo_ - 03.03.2013, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)