Where can i get the cordinates and object id? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Where can i get the cordinates and object id? (
/showthread.php?tid=424312)
Where can i get the cordinates and object id? -
Don_Cage - 21.03.2013
I got this /smoke command and i want it to give the player the cigarr object in his hand when he use it and if you press on left mouse button he will take a smoke from the cigarr. Anyone of you could give me cordinates and object id for the cigarr? and give me an example on how to do the other part?
Re: Where can i get the cordinates and object id? -
Jstylezzz - 21.03.2013
SetPlayerSpecialAction will do the trick. Set the special action to smoke, and the player can smoke if he presses mouse.
Re: Where can i get the cordinates and object id? -
Don_Cage - 21.03.2013
but where can i get the cigar etc from?
Re: Where can i get the cordinates and object id? -
Jstylezzz - 21.03.2013
SetPlayerHoldingObject if I'm correct.