How do i get the if(IsPlayerInRangeOfPoint
#1

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?
Reply
#2

You wanna find it in the script .
Use Ctrl + F
Reply
#3

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)) {
Reply
#4

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
Reply
#5

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
Reply
#6

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
Reply
#7

Quote:
Originally Posted by Mr.Anonymous
Посмотреть сообщение
A similar question has been asked here: https://sampforum.blast.hk/showthread.php?tid=343540
Still not working D:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)