SA-MP Forums Archive
Help please :3 - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help please :3 (/showthread.php?tid=274929)



Help please :3 - iGetty - 07.08.2011

How can I add a briefcase to a players hand using this?

SetPlayerAttachedObject(playerid, 3, 1609, 2);


Re: Help please :3 - MadeMan - 07.08.2011

Add it to your script.


Re: Help please :3 - iGetty - 07.08.2011

I know that, but I mean how could I add it so then it shows a briefcase to the players hand.

The response "Add it to your script." isn't really helping me, as I already know that.


Re: Help please :3 - MadeMan - 07.08.2011

Quote:
Originally Posted by getty154
Посмотреть сообщение
SetPlayerAttachedObject(playerid, 3, 1609, 2);
What's wrong with it then?

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject


Re: Help please :3 - sleepysnowflake - 07.08.2011

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

Wow. Useful wiki, isn't it ?


Re: Help please :3 - PhoenixB - 07.08.2011

You will have to somehow make a command to give a player a briefcase OR add it in the 24/7 /buy list you might have, and as MadeMan said above
SetPlayerAttachedObject(playerid, 3, 1609, 2); // Should work


Re: Help please :3 - FireCat - 07.08.2011

I don't have any respect for people with the blue stars has their profile picture.


Re: Help please :3 - iGetty - 07.08.2011

That's EXACTLY what I mean, I don't understand how to use it!, so please can you help me with how to set it?!


Re: Help please :3 - sleepysnowflake - 07.08.2011

http://forum.sa-mp.com/showthread.ph...highlight=Hold

https://sampwiki.blast.hk/wiki/Objects

Mix them up!