SA-MP Forums Archive
is it possible ? - 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: is it possible ? (/showthread.php?tid=489159)



is it possible ? - DarkLored - 21.01.2014

Guys i was in a server once and he had special skins for vip like if someone is vip he can get random skins like basketball head skin and other random skins if its possible to add please post it here


Re: is it possible ? - Brandon_More - 21.01.2014

I don't really know what you mean, explain..?


Re: is it possible ? - DarkLored - 21.01.2014

Well what i meant is that if you can add custom skins ingame like if someone is vip he gets a skin that dosent exsist and other players can see it


Re: is it possible ? - Dignity - 21.01.2014

They have done this using the SetPlayerAttachedObject function. They have used a basketball object and positioned it so it fits on their head. You can use the attachments.pwn filterscript used in the sa-mp server package. You need to add the basketball object ID to the script (bottom of the array), position it ingame, then get the code from your server console, and write a command/function that allows the AttachedObject to appear.

This basically sums up how they did it. I can help you with it if you want.


Re: is it possible ? - Omar55555 - 21.01.2014

you mean commmand /setskin for vip's ? or toys attachments ?


Re: is it possible ? - DarkLored - 21.01.2014

yeah but what i meant not only that how people add mods like hostler mod in samp i saw some servers host mods like that


Re: is it possible ? - Dignity - 21.01.2014

Quote:
Originally Posted by DarkLored
Посмотреть сообщение
yeah but what i meant not only that how people add mods like hostler mod in samp i saw some servers host mods like that
They did it the same way I already explained.

This is an example: Weapon Holster Filterscript


Re: is it possible ? - DarkLored - 21.01.2014

okay thx i got my answers i would rep you guys but 24 hours untill i can rep again


Re: is it possible ? - MP2 - 21.01.2014

Why are you asking if it's possible if it obviously is (because you've seen it)..?