02.09.2013, 16:03
hi.
i want to make a gangzone , players can capture that .
i maked all captureable gangzones and any things i do need to capture the gang zones , but i want to add if player leave the gang zone is in capturing capturing will be stop .
i did this
i thinked this is for my bad gang zone system but when i did replaced
with
that didn't worked and i dont know what is isplayerinarea problem .
pls help me.
and sorry for my bad english .![Sad](images/smilies/sad.gif)
good bye ;
i want to make a gangzone , players can capture that .
i maked all captureable gangzones and any things i do need to capture the gang zones , but i want to add if player leave the gang zone is in capturing capturing will be stop .
i did this
Quote:
forward isPlayerInArea(); |
Quote:
public isPlayerInArea() { new Float:X, Float:Y, Float:Z; for(new i=0; i < MAX_PLAYERS; i++) { GetPlayerPos(i, X, Y, Z); if (X <= 1807.9355 && X >= 1774.2284 && Y <= -1936.0048 && Y >= -1885.2125) { GangZoneStopFlashForAll(captured); GangZoneShowForAll(captured, GetPlayerColor(playerid)); } } } |
Quote:
SetPlayerHealth(i, -999999.9); |
Quote:
GangZoneStopFlashForAll(captured); GangZoneShowForAll(captured, GetPlayerColor(playerid)); |
pls help me.
and sorry for my bad english .
![Sad](images/smilies/sad.gif)
good bye ;