Help with minigames script
#7

I'd rather do:

Код:
new IsInMinigame[MAX_PLAYERS]
And, if someone joins a minigame, set it to 1. If that person then tries to use a command:

Код:
if( IsInMinigame[ playerid ]
{
  SendClientMessage( playerid, COLOR_GREEN, "Error: You can't use commands while in a Minigame" );
  return 1;
}
@ 2 I don't understand your problem

@ 3:

Код:
SetPlayerVirtualWorld playerid, 0 );
SetPlayerInterior( playerid, 0 );
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:
Reply


Messages In This Thread
Help with minigames script - by yelkreb - 17.02.2009, 14:31
Re: Help with minigames script - by Mikep - 17.02.2009, 14:36
Re: Help with minigames script - by yelkreb - 17.02.2009, 15:09
Re: Help with minigames script - by yelkreb - 17.02.2009, 18:49
Re: Help with minigames script - by whooper - 17.02.2009, 19:33
Re: Help with minigames script - by yelkreb - 18.02.2009, 11:40
Re: Help with minigames script - by DutchDominator - 18.02.2009, 14:30
Re: Help with minigames script - by yelkreb - 18.02.2009, 16:48
Re: Help with minigames script - by DutchDominator - 18.02.2009, 17:16
Re: Help with minigames script - by yelkreb - 18.02.2009, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)