Posts: 66
Threads: 7
Joined: Dec 2009
Reputation:
0
I need help with making gates.. i know how to add gates,but how that open and close system?
i hear i have to get coordinates of close and open place..
Posts: 66
Threads: 7
Joined: Dec 2009
Reputation:
0
Okay.. I use if(PlayerToPoint too?
Posts: 734
Threads: 8
Joined: Jun 2009
Quote:
Originally Posted by Nakki
Okay.. I use if(PlayerToPoint too?
|
the native
IsPlayerInRangeOfPoint(playerid.. is better, and faster
edit; link here (how to use it)
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Posts: 734
Threads: 8
Joined: Jun 2009
Quote:
Originally Posted by _Saif_
Quote:
Originally Posted by Virtual1ty
|
IsPlayerInRangeOfPoint is better
if(IsPlayerInRangeOfPoint(playerid, 10.0 , Float , Float:y, Float:z);
|
And what have i just said to him? Just keeping your post counter high up
and he can change the
range of where the door's (or gates) can open,
so it doesn't have to be
10.0!
edit; the link i gave him is pretty self-explanatory
Posts: 66
Threads: 7
Joined: Dec 2009
Reputation:
0
Yes i make Command (/opengate) i use MoveObject