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

ObjectMovingToPlayer

$
0
0
Hello everyone, so I titled this thread ObjectMovingToPlayer which means that an object moves to the player, but I don't know how to script it, I saw it at a server once, an object was following me, and it injures me if I let it touch me.
I don't know if its possible but the object was probably attached to a bot which is programmed to follow the player.

So I know its possible to attach an object at an npc, then have the npc follow the player, so I want to create fire around the object and when it hits the player it explodes, so anybody knows if an object moving to a player exist?
is it possible to create a object and make it move? like the deer in vwh-rp.





ObjectMovingTowardsPlayer(playerid, objectid, speed, float: x, float:y, float:z);

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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