IsPlayerInArea
#3

Do not use dynamic zones

My areas are so:

1
Код:
new GangZoneFlash1, GangZoneFlash2, GangZoneFlash3;
2 (OnPlayerSpawn)
Код:
if(IsWar == true && warzone == 1) GangZoneFlashForPlayer(playerid, GangZoneFlash1, COLOR_RED);
	    else if(IsWar == true && warzone == 2) GangZoneFlashForPlayer(playerid, GangZoneFlash2, COLOR_RED);
	    else if(IsWar == true && warzone == 3) GangZoneFlashForPlayer(playerid, GangZoneFlash3, COLOR_RED);
3. (OnGamemodeInit)
Код:
GangZoneFlash1 = GangZoneCreate(351.5625,-9.375,103.125,-295.3125);
	GangZoneFlash2 = GangZoneCreate(1675.78125,-1207.03125,1867.96875,-1050);
	GangZoneFlash3 = GangZoneCreate(1054.6875,-1058.59375,1269.53125,-875);
These areas are marked with red.
Reply


Messages In This Thread
IsPlayerInArea - by Mititel - 06.08.2014, 16:15
Re: IsPlayerInArea - by Stanford - 06.08.2014, 16:24
Re: IsPlayerInArea - by Mititel - 06.08.2014, 17:37
Re: IsPlayerInArea - by Stanford - 06.08.2014, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)