[HELP]Disable Command Speed Boost in Race!
#1

Hi. I tryed to disable the command speedboost, /turbo in race, with
Код:
if(Turbo[playerid]==1) return SendClientMessage(playerid,ROSSO,"[ERROR:] {FFFFFF}You can't use /turbo in race.");
But the speed boost don't disable in race... What I should write to disable speedboost and where? This is the filterscript Race with the SpeedBost integrated. http://pastebin.com/Fm71wDe0
Please Help me and sorry my really bad english.
Reply
#2

Make a variable to check if the player is in a race.
Reply
#3

Code variable please
Reply
#4

There is a variable that indicates the player race.
If it's -1 the player isn't in race.
Код:
if(Giocatore[playerid][idgara]=-1 && */here goes condition of boost*/)
{
 /*boost functions*/
}
Reply
#5

Thanks Phanto (scusa se ti parlo inglese) Under where i put this variable? Thanks
Reply


Forum Jump:


Users browsing this thread: