[MAP/FS]Alcatraz by FrozenYuri
#11

Quote:
Originally Posted by killerpiggy
nice FS man! but xD i got a question: how can i get the /jail command get people here?
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/jail", cmdtext, true) == 0)
	{
		if(GetPlayerColor(playerid) == 0x2641FEAA)
		{
			new Float:X, Float:Y, Float:Z; 
			GetPlayerPos(playerid, X, Y, Z); 
			
			for(new i = 0; i < MAX_PLAYERS; i++) 
			{
				if(IsPlayerConnected(i))
				{
					if(IsPlayerInRangeOfPoint(i, 3, X, Y, Z) && i != playerid && GetPlayerColor(i) == 0xFF8000FF) 
					{
						
						SetPlayerPos(i, 263.7086,81.9716,1001.0391);
						
						SetPlayerInterior(i, 6);
						
						SetTimerEx("JailTimer", 180000, 0, "i", i);
					}
				}
			}
		}
		return 1;
	}
Reply


Messages In This Thread
[MAP/FS]Alcatraz by FrozenYuri - by ThaYuriShit - 02.03.2010, 12:34
Re: [MAP/FS]Alcatraz by FrozenYuri - by geerdinho8 - 02.03.2010, 17:31
Re: [MAP/FS]Alcatraz by FrozenYuri - by Joey09 - 02.03.2010, 17:31
Re: [MAP/FS]Alcatraz by FrozenYuri - by BurningSWA - 02.03.2010, 17:37
Re: [MAP/FS]Alcatraz by FrozenYuri - by XRVX - 02.03.2010, 17:44
Re: [MAP/FS]Alcatraz by FrozenYuri - by emch0o - 02.03.2010, 18:01
Re: [MAP/FS]Alcatraz by FrozenYuri - by Rzzr - 02.03.2010, 21:40
Re: [MAP/FS]Alcatraz by FrozenYuri - by Lejo - 02.03.2010, 22:53
Re: [MAP/FS]Alcatraz by FrozenYuri - by JPs_ - 02.03.2010, 23:38
Re: [MAP/FS]Alcatraz by FrozenYuri - by killerpiggy - 03.03.2010, 16:12
Re: [MAP/FS]Alcatraz by FrozenYuri - by JPs_ - 03.03.2010, 20:08
Re: [MAP/FS]Alcatraz by FrozenYuri - by iPlay - 03.03.2010, 20:11
Re: [MAP/FS]Alcatraz by FrozenYuri - by Flake. - 03.03.2010, 20:16
Re: [MAP/FS]Alcatraz by FrozenYuri - by MinZ|Spark - 04.03.2010, 08:21
Re: [MAP/FS]Alcatraz by FrozenYuri - by Lejo - 04.03.2010, 08:26
Re: [MAP/FS]Alcatraz by FrozenYuri - by ThaYuriShit - 04.03.2010, 18:47
Re: [MAP/FS]Alcatraz by FrozenYuri - by killerpiggy - 05.03.2010, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)