Guest User

Gorro de Natal www.samp-vicio.net

a guest
Dec 24th, 2014
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. public OnPlayerCommandText(playerid, cmdtext[])
  2. {
  3. if(!strcmp(cmdtext, "/gorro", true))
  4. {
  5. SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
  6. return SendClientMessage(playerid, 0x00FF00FF, "VocĂȘ equipou o Gorro de Natal");
  7. }
  8. if(!strcmp(cmdtext, "/removergorro", true))
  9. {
  10. if(IsPlayerAttachedObjectSlotUsed(playerid, 3))
  11. {
  12. RemovePlayerAttachedObject(playerid, 3);
  13. SendClientMessage(playerid, 0x00FF00FF, "VocĂȘ removeu o Gorro de Natal");
  14. }
  15. return 1;
  16. }
  17. return 0;
  18. }
Add Comment
Please, Sign In to add comment