Guest User

zaKe's christmas hat

a guest
Dec 19th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. //SYSTEM BY zaKe
  2. //IARNA PLACUTA
  3. //TOATE DREPTURILE DE AUTOR!!!
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8. #define COLOR_LIME 0x00FF00DC
  9. #define COLOR_ERROR 0xFF0000FF
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. print(" xmas system by zaKe");
  14. return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19. return 1;
  20. }
  21.  
  22. #else
  23.  
  24. main()
  25. {
  26. print(" xmas system by zaKe");
  27. }
  28.  
  29. #endif
  30.  
  31. public OnPlayerCommandText(playerid, cmdtext[])
  32. {
  33. if(!strcmp(cmdtext, "/xmashat", true))
  34. {
  35. SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
  36. return SendClientMessage(playerid, 0x00FF00FF, "Ai echipat caciula :)) ");
  37. }
  38. if(!strcmp(cmdtext, "/removexmas", true))
  39. {
  40. if(IsPlayerAttachedObjectSlotUsed(playerid, 3))
  41. {
  42. RemovePlayerAttachedObject(playerid, 3);
  43. SendClientMessage(playerid, 0xFF0000FF, "te f*t nu-ti place craciunu? MUIE!!!");
  44. }
  45. return 1;
  46. }
  47. return 0;
  48. }
Advertisement
Add Comment
Please, Sign In to add comment