Customize Player/Skin? +REP
#1

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



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

Try it with

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
Reply
#3

Thanks but was the easter egg pre-made?
Reply
#4

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);
Reply
#5

+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?
Reply
#6

THIS IS WHAT I NEED PLEASE! +REP
Reply
#7

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.
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)