Christmas Hat
#1

Quote:

{
if(!strcmp(cmdtext, "/santa", true))
{
SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
return SendClientMessage(playerid, 0x00FF00FF, "Santa hat equipped!");
}
if(!strcmp(cmdtext, "/remove", true))
{
if(IsPlayerAttachedObjectSlotUsed(playerid, 3))
{
RemovePlayerAttachedObject(playerid, 3);
SendClientMessage(playerid, 0x00FF00FF, "Equipped objects removed.");
}
return 1;
}
return 0;
}

This is a santa hat i found online...well i wanna make it automatic when i player first logs in or registers it will automatically be on him
Reply


Messages In This Thread
Christmas Hat - by WiseRice - 19.12.2012, 08:28
Re: Christmas Hat - by Faisal_khan - 19.12.2012, 08:31
Re: Christmas Hat - by WiseRice - 19.12.2012, 09:05
Re: Christmas Hat - by SilverKiller - 19.12.2012, 10:04
Re: Christmas Hat - by WiseRice - 19.12.2012, 10:15
Re: Christmas Hat - by SilverKiller - 19.12.2012, 10:17
Re: Christmas Hat - by WiseRice - 19.12.2012, 10:47
Re: Christmas Hat - by SilverKiller - 19.12.2012, 10:58
Re: Christmas Hat - by WiseRice - 19.12.2012, 11:13
Re: Christmas Hat - by SilverKiller - 19.12.2012, 11:19

Forum Jump:


Users browsing this thread: 1 Guest(s)