Object Spawning
#1

PHP код:
feuer[playerid] = CreateObject(18688x,y,z,0,0,0); 
Currently this is spawning above players head, can anyone give the coords to spawn in on the ground?
Reply
#2

You would need to use the MapAndreas plugin to retrieve the appropriate Z coordinate. You can find it here:

https://sampforum.blast.hk/showthread.php?tid=120013

However, you could also check the offset of the player and just decrease the z value by that much. It wouldn't be perfect, but would reduce the use of this plugin, and saving you some memory.
Reply
#3

mhh thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)