SA-MP Forums Archive
Hold a suitcase? - 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: Hold a suitcase? (/showthread.php?tid=181311)



Hold a suitcase? - DarrenReeder - 04.10.2010

Hello,

I have seen on a server where players can hold a suitcase...it looked very nice...

I just want to know how i can make this... THen using this i will make it so you can store guns/drugs in the suitcasE (i can make that myself, just need to know how i can make it so players can hold suitcases)

-thanks


Re: Hold a suitcase? - DarrenReeder - 04.10.2010

will it actually look like the player is holding the case? or will it just be sitting next to the player?


Re: Hold a suitcase? - Retardedwolf - 04.10.2010

Quote:
Originally Posted by DarrenReeder
Посмотреть сообщение
will it actually look like the player is holding the case? or will it just be sitting next to the player?
https://sampwiki.blast.hk/wiki/SetPlayerHoldingObject

And yes it would look exactly like the player is holding the object if you use the correct coordinates and boneid


Re: Hold a suitcase? - CaptainOwen - 04.10.2010

I don't believe theres an actual suticase model in SA:MP. You'd be best setting a method to buy a cane of sorts from a store and modding it through and .IMG Editor with the modification of your choice.


Re: Hold a suitcase? - DarrenReeder - 04.10.2010

SetPlayerHoldingObject(playerid, 1210, 6,0.3,0.1,0,0,-90,0); // BriefCase

Perfect... had to work out co-ords and stuff, but its good..

thanks for help peeps