Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/gorro", 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, "VocĂȘ equipou o Gorro de Natal");
- }
- if(!strcmp(cmdtext, "/removergorro", true))
- {
- if(IsPlayerAttachedObjectSlotUsed(playerid, 3))
- {
- RemovePlayerAttachedObject(playerid, 3);
- SendClientMessage(playerid, 0x00FF00FF, "VocĂȘ removeu o Gorro de Natal");
- }
- return 1;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment