How do i get the if(IsPlayerInRangeOfPoint - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How do i get the if(IsPlayerInRangeOfPoint (
/showthread.php?tid=423842)
How do i get the if(IsPlayerInRangeOfPoint -
Hussain - 19.03.2013
Well i'm currently in the process of coding moveable gates
but i don't know how to get the if(IsPlayerInRangeOfPoint(playerid, )) {
Any help?
Re: How do i get the if(IsPlayerInRangeOfPoint -
JamesWilliams - 19.03.2013
You wanna find it in the script .
Use Ctrl + F
Re: How do i get the if(IsPlayerInRangeOfPoint -
Hussain - 19.03.2013
Quote:
Originally Posted by JamesWilliams
You wanna find it in the script .
Use Ctrl + F
|
I've found the code but i don't know what to place in the coord part : if(IsPlayerInRangeOfPoint(playerid, COORDS)) {
Re: How do i get the if(IsPlayerInRangeOfPoint -
Mr.Anonymous - 19.03.2013
Quote:
Originally Posted by Hussain
I've found the code but i don't know what to place in the coord part : if(IsPlayerInRangeOfPoint(playerid, COORDS)) {
|
Understand that here:
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Re: How do i get the if(IsPlayerInRangeOfPoint -
Hussain - 19.03.2013
Okay one last thing my gate didn't show up
Gate = CreateDynamicObject(969, 324.89999, -1185.59998, 75.4, 0, 0, 0, 1, -1);
I used mta to get the closed position of my gate and it gave me this can you tell me what i've done wrong and correct it?
969, delux, 0, 324.89999, -1185.59998, 75.4, 0, 0, 0, 1, -1
Re: How do i get the if(IsPlayerInRangeOfPoint -
Mr.Anonymous - 19.03.2013
Quote:
Originally Posted by Hussain
Okay one last thing my gate didn't show up
|
A similar question has been asked here:
https://sampforum.blast.hk/showthread.php?tid=343540
Re: How do i get the if(IsPlayerInRangeOfPoint -
Hussain - 19.03.2013
Quote:
Originally Posted by Mr.Anonymous
|
Still not working D: