Guest User

Skin changing Filterscript by Audi_Quattrix

a guest
Jul 30th, 2012
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. // Skin changing Filterscript by Audi_Quattrix
  2. #define FILTERSCRIPT
  3.  
  4. #include <a_samp>
  5. #include <zcmd>
  6. #include <sscanf>
  7.  
  8. #if defined FILTERSCRIPT
  9. #define RED 0xF81414AA
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. print("\n--------------------------------------");
  14. print("Skin changing Filterscript by Audi_Quattrix loaded");
  15. print("--------------------------------------\n");
  16. return 1;
  17. }
  18.  
  19. public OnFilterScriptExit()
  20. {
  21. print("\n--------------------------------------");
  22. print("Skin changing Filterscript by Audi_Quattrix unloaded");
  23. print("--------------------------------------\n");
  24. return 1;
  25. }
  26. CMD:skin(playerid, params[])
  27. {
  28. new id;
  29. if (sscanf(params, "d", id)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /Skin [ID]");
  30. if(id < 0 || id > 299) return SendClientMessage(playerid,RED,"Wrong Skin ID");
  31. else
  32. {
  33. SetPlayerSkin(playerid,id);
  34. }
  35. return 1;
  36. }
  37. #endif
Advertisement
Add Comment
Please, Sign In to add comment