Quote:
Originally Posted by iggy1
I used PVars here because it will be a lot easier than writing public functions to use cross script.
pawn Код:
//when they enter the derby SetPVarInt( playerid, "in_derby", 1 );
//when they leave DeletePVar( playerid, "in_derby" );
//in your /ar command at the top if( GetPVarInt( playerid, "in_derby" ) ) return 1;//or return a message or what ever
Better to do this than unload the FS. Use this in any commands you want disabled in the derby.
|
okay i do understand it, and i will add the SetPVarInt and DeletePVar to my gamemode script,
but could you please add it to my filterscript?
i dont know where to put it exactly :$
i hope you could do this for me