Weapon and objects. - 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: Weapon and objects. (
/showthread.php?tid=368304)
Weapon and objects. -
TaLhA XIV - 12.08.2012
Hello,
Just wanted to ask that if there were object or weapon like a screw driver and a tool like a car jacker?if yes please help.
ThAnKs!
Re: Weapon and objects. -
Kindred - 12.08.2012
No..
Re: Weapon and objects. -
TaLhA XIV - 12.08.2012
okay tHaNkS anyways.
Re: Weapon and objects. -
Vince - 12.08.2012
Yes..
http://k-dst.de/kategorien.php?kat=Holding%20Objects
Re: Weapon and objects. -
TaLhA XIV - 12.08.2012
Thanks.rep+
Re: Weapon and objects. -
TaLhA XIV - 12.08.2012
Sorry for the double posting but do we have to use this function with SetPlayerAttachedObject?If yes can you please give me a small command that has SetPlayerAttachedObject[screw driver].If yes than how can we getplayerattachedobject.
ThAnKs.
Re: Weapon and objects. -
TaLhA XIV - 12.08.2012
Bump..Please help I really need it.
Re: Weapon and objects. -
TaLhA XIV - 12.08.2012
Bump ..Please
Re: Weapon and objects. -
Ranama - 13.08.2012
This might help you?
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
https://sampwiki.blast.hk/wiki/EditAttachedObject
https://sampwiki.blast.hk/wiki/RemovePlayerAttachedObject
amazing what ****** can do these days...
Re: Weapon and objects. -
Travis The Tiger - 13.08.2012
TaLhA XIV
Код:
SetPlayerAttachedObject(playerid, 8, 18644, 6, posx, posy, posz, rotx, roty, rotz, scalex, scaley, scalez);
Use that to set it. Change the 8 after playerid if you want, it's just the slot. As for the positions, rotations, and scales. You figure them out because I'm not.