09.08.2011, 08:04
You need to use the SetPlayerSkin function, which like it's name suggests, sets the skin of the specified player. You can find a list of available skin IDs here: https://sampwiki.blast.hk/wiki/Skins
For example, here is one you may be interested in using (ID 137): https://sampwiki.blast.hk/wiki/Image:Skin_137.png
An example how you would implement this into the command:
For example, here is one you may be interested in using (ID 137): https://sampwiki.blast.hk/wiki/Image:Skin_137.png
An example how you would implement this into the command:
pawn Код:
COMMAND:valur( playerid, params[ ] )
{
SetPlayerSkin( playerid, 137 ); // Set the player skin to ID 137
SendClientMessage( playerid, COLOR_GREY, "Congratulation, you are a valur !" ); // Send the message
return 1;
}