Disable /go to a player while he's in drag/duel/race
#2

in your /goto cmd
make a variable/bool check like
pawn Код:
if(IsPlayerInRace[playerid]==true) return //Player in the race
in order to use it you will need to do this
pawn Код:
//at the top
new IsPlayerInRace[MAX_PLAYERS];

//then when player enters the race add:
IsPlayerInRace[playerid]=1; //or "false" if using bool

//when the player leaves"
IsPlayerInRace[playerid]=0; //or "false" if using bool
Reply


Messages In This Thread
Disable /go to a player while he's in drag/duel/race - by kbalor - 16.07.2012, 20:46
Re: Disable /go to a player while he's in drag/duel/race - by park4bmx - 16.07.2012, 20:50
Re: Disable /go to a player while he's in drag/duel/race - by [KHK]Khalid - 16.07.2012, 20:51
Re: Disable /go to a player while he's in drag/duel/race - by kbalor - 16.07.2012, 20:57
Re: Disable /go to a player while he's in drag/duel/race - by kaiks - 16.07.2012, 21:14
AW: Disable /go to a player while he's in drag/duel/race - by dalkgamler - 16.07.2012, 21:19

Forum Jump:


Users browsing this thread: 1 Guest(s)