SA-MP Forums Archive
Customize Player/Skin? +REP - 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: Customize Player/Skin? +REP (/showthread.php?tid=332697)



Customize Player/Skin? +REP - TheMightyEddy - 09.04.2012

Well since it's Easter, this server has put this:



People are all wearing easter eggs on their heads. How can I do that?


Re: Customize Player/Skin? +REP - .FuneraL. - 09.04.2012

Try it with

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


Re: Customize Player/Skin? +REP - TheMightyEddy - 09.04.2012

Thanks but was the easter egg pre-made?


Re: Customize Player/Skin? +REP - ReneG - 09.04.2012

The easter egg was added in 0.3d.

Here are the model id's
Quote:

19341 easter_egg01
19342 easter_egg02
19343 easter_egg03
19344 easter_egg04
19345 easter_egg05

This line should add an easter egg to a player's head.
pawn Код:
SetPlayerAttachedObject(playerid,1,19341,2);



Re: Customize Player/Skin? +REP - TheMightyEddy - 09.04.2012

+REP for both of you guys. And do you guys also think you can tell me how to add it in-game without restarting the server or anything and for people who want it?


Re: Customize Player/Skin? +REP - TheMightyEddy - 09.04.2012

THIS IS WHAT I NEED PLEASE! +REP


Re: Customize Player/Skin? +REP - [DOG]irinel1996 - 09.04.2012

You can't add it in your GM without a restart, only thing that you can do is make a FS with the script and load it with the rcon command loadfs.


Re: Customize Player/Skin? +REP - Connorlolz - 09.04.2012

Quote:
Originally Posted by TheMightyEddy
Посмотреть сообщение
+REP for both of you guys. And do you guys also think you can tell me how to add it in-game without restarting the server or anything and for people who want it?
what do you mean? You have to restart the server if you added the command in. something like:

CMD:easter(playerid, params[])
{
//add the code
return 1;
}

if you don't want to manually restart the server you can /rcon gmx in game, after logging in.