Gangzone problem

If player enter in turfs and exit i want to send a message : Stay in gangzone or you lose HP. and timer, 5,4,3,2,1 and player lose -5HP.

Please help.

You can't detect if a player has left or entered a gang zone, although there are alternative ways of detecting this.

I suggest using streamer: and doing area checks.

pawn Код:
native CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1);
pawn Код:
forward OnPlayerEnterDynamicArea(playerid, areaid);
forward OnPlayerLeaveDynamicArea(playerid, areaid);
Just like how you would create a gangzone.

Forum Jump:

Users browsing this thread: