22.10.2015, 07:34
Hai, I made a filterscript for minigames in past, I wanted to use it with my stunts/freeroam gamemode, But sadly players abusing Stuntsmode command (godmode) and car auto fix in minigames..
Is it possbile to check in gamemode if player typed the command: "/race" (which is in minigames filterscript) and he got auto fix or stuntsmode, preventing the command from being executed?
Someone told me to do that:
Would it work?
Is it possbile to check in gamemode if player typed the command: "/race" (which is in minigames filterscript) and he got auto fix or stuntsmode, preventing the command from being executed?
Someone told me to do that:
PHP код:
if(!strcmp(cmdtext, "/race", true) && StuntsMode[playerid] == true) return SendClientMessage(playerid, -1, "bla bla bla");