SA-MP Forums Archive
[duvida]Code. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [duvida]Code. (/showthread.php?tid=144163)



[duvida]Code. - NathanLive - 25.04.2010

Pessoal olhem esse code:
if(PlayerToPoint(5.0,playerid, 1122.7528,-2037.0787,69.8942))

queria saber o q esse 5.0 representa nele abraзos


Re: [duvida]Code. - russo666 - 25.04.2010

Esse '5.0' й a 'distвncia' em radius.


Re: [duvida]Code. - NathanLive - 25.04.2010

vlw



Re: [duvida]Code. - andmeida10 - 26.04.2010

Quote:
Originally Posted by NathanLive
Pessoal olhem esse code:
if(PlayerToPoint(5.0,playerid, 1122.7528,-2037.0787,69.8942))

queria saber o q esse 5.0 representa nele abraзos
aconselho-te a usar o IsPlayerInRangeOfPoint:


https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint