18.02.2009, 14:30
I'd rather do:
And, if someone joins a minigame, set it to 1. If that person then tries to use a command:
@ 2 I don't understand your problem
@ 3:
Btw, I made that Minigame script :')
But there are some bugs in it Although I fixed them, I'm too lazy to release a new version D:
Код:
new IsInMinigame[MAX_PLAYERS]
Код:
if( IsInMinigame[ playerid ] { SendClientMessage( playerid, COLOR_GREEN, "Error: You can't use commands while in a Minigame" ); return 1; }
@ 3:
Код:
SetPlayerVirtualWorld playerid, 0 ); SetPlayerInterior( playerid, 0 );
But there are some bugs in it Although I fixed them, I'm too lazy to release a new version D: