Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

How do i make gate open and close? Please help me with this small thing +REP

$
0
0
Hello,
I need help with a small thing: i have a gate, and i want it to open automatically only for players that have [BD] tag in front of their name. (I want it to open when they go near the gate and i want it to close when they go away from it.)

Here is the gate coordinates when the gate is in the ground:
Code:

CreateDynamicObject(988, -488.89850, -562.67981, 25.35821,  0.00000, 0.00000, 0.00000);
I want it to open like that the gate moves up in air, and closes that it moves back down. (Only for players that have [BD] tag in front of their name).

Please help me guys,
Thanks in advance.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>