Move Object Help
#1

Hi, I made some automatic gates but when you aproach them they do not work. Can you tell me why? I put it on Pastebin for syntax highlighting and easier reading and understanding: http://pastebin.com/ayZR5sg5.

Thanks in advance,
Tzeny
Reply
#2

Are you in the correct skin to activate the gates ?

Peace...
Reply
#3

Yea, I am in skin 287, army
Reply
#4

Check the parameters of IsPlayerInRangeOfPoint

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

pawn Код:
if(IsPlayerInRangeOfPoint(i, 1494.73, -2503.05, 16.20, 15.0))
should be

pawn Код:
if(IsPlayerInRangeOfPoint(i, 15.0, 1494.73, -2503.05, 16.20))
Reply
#5

I can't belive I missed that. Thanks a lot!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)