Advertisement
Guest User

Skin Setter 1.0 by Radi

a guest
Mar 18th, 2012
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 4.54 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. #define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. public OnFilterScriptInit()
  10. {
  11.     print("\n--------------------------------------");
  12.     print(" Skin Setter by Radi");
  13.     print("--------------------------------------\n");
  14.     return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19.     return 1;
  20. }
  21.  
  22. #else
  23.  
  24. main()
  25. {
  26.     print("\n----------------------------------");
  27.     print(" Blank Gamemode by your name here");
  28.     print("----------------------------------\n");
  29. }
  30.  
  31. #endif
  32.  
  33. public OnGameModeInit()
  34. {
  35.     // Don't use these lines if it's a filterscript
  36.     SetGameModeText("Blank Script");
  37.     AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  38.     return 1;
  39. }
  40.  
  41. public OnGameModeExit()
  42. {
  43.     return 1;
  44. }
  45.  
  46. public OnPlayerRequestClass(playerid, classid)
  47. {
  48.     SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  49.     SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  50.     SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  51.     return 1;
  52. }
  53.  
  54. public OnPlayerConnect(playerid)
  55. {
  56.     return 1;
  57. }
  58.  
  59. public OnPlayerDisconnect(playerid, reason)
  60. {
  61.     return 1;
  62. }
  63.  
  64. public OnPlayerSpawn(playerid)
  65. {
  66.     return 1;
  67. }
  68.  
  69. public OnPlayerDeath(playerid, killerid, reason)
  70. {
  71.     return 1;
  72. }
  73.  
  74. public OnVehicleSpawn(vehicleid)
  75. {
  76.     return 1;
  77. }
  78.  
  79. public OnVehicleDeath(vehicleid, killerid)
  80. {
  81.     return 1;
  82. }
  83.  
  84. public OnPlayerText(playerid, text[])
  85. {
  86.     return 1;
  87. }
  88.  
  89. public OnPlayerCommandText(playerid, cmdtext[])
  90. {
  91.     if (strcmp("/cj", cmdtext, true, 10) == 0)
  92.     {
  93.         SetPlayerSkin(playerid,0);
  94.         return 1;
  95.     }
  96.  
  97.     if (strcmp("/truth", cmdtext, true, 10) == 0)
  98.     {
  99.         SetPlayerSkin(playerid,1);
  100.         return 1;
  101.     }
  102.    
  103.     if (strcmp("/maccer", cmdtext, true, 10) == 0)
  104.     {
  105.         SetPlayerSkin(playerid,2);
  106.         return 1;
  107.     }
  108.    
  109.     if (strcmp("/andre", cmdtext, true, 10) == 0)
  110.     {
  111.         SetPlayerSkin(playerid,3);
  112.         return 1;
  113.     }
  114.    
  115.     if(strcmp("/bbthin", cmdtext, true, 10) == 0)
  116.     {
  117.         SetPlayerSkin(playerid,4);
  118.         return 1;
  119.     }
  120.    
  121.     if(strcmp("/bb", cmdtext, true, 10) == 0)
  122.     {
  123.         SetPlayerSkin(playerid,5);
  124.         return 1;
  125.     }
  126.    
  127.     if(strcmp("/emmet", cmdtext, true, 10) == 0)
  128.     {
  129.         SetPlayerSkin(playerid,6);
  130.         return 1;
  131.     }
  132.    
  133.     if(strcmp("/male01", cmdtext, true, 10) == 0)
  134.     {
  135.         SetPlayerSkin(playerid,7);
  136.         return 1;
  137.     }
  138.    
  139.     if(strcmp("/janitor", cmdtext, true, 10) == 0)
  140.     {
  141.         SetPlayerSkin(playerid,8);
  142.         return 1;
  143.     }
  144.    
  145.     if(strcmp("/bfori", cmdtext, true, 10) == 0)
  146.     {
  147.         SetPlayerSkin(playerid,9);
  148.         return 1;
  149.     }
  150.    
  151.     if(strcmp("/bfost", cmdtext, true, 10) == 0)
  152.     {
  153.         SetPlayerSkin(playerid,10);
  154.         return 1;
  155.     }
  156.  
  157.     return 0;
  158.  
  159. }
  160.  
  161. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  162. {
  163.     return 1;
  164. }
  165.  
  166. public OnPlayerExitVehicle(playerid, vehicleid)
  167. {
  168.     return 1;
  169. }
  170.  
  171. public OnPlayerStateChange(playerid, newstate, oldstate)
  172. {
  173.     return 1;
  174. }
  175.  
  176. public OnPlayerEnterCheckpoint(playerid)
  177. {
  178.     return 1;
  179. }
  180.  
  181. public OnPlayerLeaveCheckpoint(playerid)
  182. {
  183.     return 1;
  184. }
  185.  
  186. public OnPlayerEnterRaceCheckpoint(playerid)
  187. {
  188.     return 1;
  189. }
  190.  
  191. public OnPlayerLeaveRaceCheckpoint(playerid)
  192. {
  193.     return 1;
  194. }
  195.  
  196. public OnRconCommand(cmd[])
  197. {
  198.     return 1;
  199. }
  200.  
  201. public OnPlayerRequestSpawn(playerid)
  202. {
  203.     return 1;
  204. }
  205.  
  206. public OnObjectMoved(objectid)
  207. {
  208.     return 1;
  209. }
  210.  
  211. public OnPlayerObjectMoved(playerid, objectid)
  212. {
  213.     return 1;
  214. }
  215.  
  216. public OnPlayerPickUpPickup(playerid, pickupid)
  217. {
  218.     return 1;
  219. }
  220.  
  221. public OnVehicleMod(playerid, vehicleid, componentid)
  222. {
  223.     return 1;
  224. }
  225.  
  226. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  227. {
  228.     return 1;
  229. }
  230.  
  231. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  232. {
  233.     return 1;
  234. }
  235.  
  236. public OnPlayerSelectedMenuRow(playerid, row)
  237. {
  238.     return 1;
  239. }
  240.  
  241. public OnPlayerExitedMenu(playerid)
  242. {
  243.     return 1;
  244. }
  245.  
  246. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  247. {
  248.     return 1;
  249. }
  250.  
  251. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  252. {
  253.     return 1;
  254. }
  255.  
  256. public OnRconLoginAttempt(ip[], password[], success)
  257. {
  258.     return 1;
  259. }
  260.  
  261. public OnPlayerUpdate(playerid)
  262. {
  263.     return 1;
  264. }
  265.  
  266. public OnPlayerStreamIn(playerid, forplayerid)
  267. {
  268.     return 1;
  269. }
  270.  
  271. public OnPlayerStreamOut(playerid, forplayerid)
  272. {
  273.     return 1;
  274. }
  275.  
  276. public OnVehicleStreamIn(vehicleid, forplayerid)
  277. {
  278.     return 1;
  279. }
  280.  
  281. public OnVehicleStreamOut(vehicleid, forplayerid)
  282. {
  283.     return 1;
  284. }
  285.  
  286. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  287. {
  288.     return 1;
  289. }
  290.  
  291. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  292. {
  293.     return 1;
  294. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement