DM zone
#2

Код:
new dm_zone[MAX_PLAYERS];



if(strcmp("/stunt", cmdtext, true, 10) == 0) // your other commads
 	{
		SetPlayerPos(playerid,398.1079,2540.1904,19.6311);
		if(dm_zone[playerid] == 1) // 	This query must always be in each command, unless you want to have weapons with which he and other commands
		{
		  ResetPlayerWeapons(playerid);
		  dm_zone[playerid] = 0;
		  return 1;
		}
		return 1;
	}


 	if (strcmp("/dm", cmdtext, true, 10) == 0) // Dm command
 	{
		SetPlayerPos(playerid,3103.0754,-2289.9517,15.4480);
		GivePlayerWeapon(playerid, 26,64);
		GivePlayerWeapon(playerid, 28,264);
		GivePlayerWeapon(playerid, 30,264);
		dm_zone[playerid] = 1;
		return 1;
	}
Reply


Messages In This Thread
DM zone - by PANNA - 18.10.2009, 21:01
Re: DM zone - by [ATC]eRaZoR - 21.10.2009, 09:53
Re: DM zone - by The.Method.Man - 09.03.2012, 01:15

Forum Jump:


Users browsing this thread: 1 Guest(s)