Wanna know [HELP]
#1

Is there any function of these

Ongamemodeinit()
{
zone1 = gangzonecreat.................
}

Onplayerenterzone <<<< i meant gang zone

Onplayerexitzone

And inside the public is

public onplayerenterzone(playerid, zoneid)
{
if(zoneid == zone1)
{
flashzoneforplayer...................
}
}


Any.... detect that player in custom zone
Reply
#2

Try using:

PHP код:
if(IsPlayerInRangeOfPoint(playeridrangeXYZ); //change those range,Z,X,Y to ur coordinates! 
And The Code Means:

IsPlayerInRangeOfPoint- Checks if the player is in rage of a specific point
playerid- Check the player's id
range- The furthest distance the player can be from the point to be in range.
X-The X coordinate of the point to check the range to
Y-The Y coordinate of the point to check the range to
Z-The Z coordinate of the point to check the range to

The returns should be:
1- true
0- false

Hope i helped
Reply
#3

use streamer include, see this tut, useful
https://sampforum.blast.hk/showthread.php?tid=453013

Good luck.
Reply
#4

Use This one

https://github.com/LVPlayground/zone...er/a_zones.pwn
Reply
#5

Quote:
Originally Posted by Yaa
Посмотреть сообщение
3 year old thread...
Reply
#6

I Noticed that Lol
Reply
#7

Nvm delete this, didn't saw the date.
Reply


Forum Jump:


Users browsing this thread: