chrismain

Untitled

Apr 8th, 2011
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.93 KB | None | 0 0
  1. // welcome To My First Script it was my very first!!
  2. // This is a comment
  3. // uncomment the line below if you want to write a filterscript
  4. //#define FILTERSCRIPT
  5.  
  6. #include <a_samp>
  7.  
  8. #if defined FILTERSCRIPT
  9.  
  10. public OnFilterScriptInit()
  11. {
  12. print("\n--------------------------------------");
  13. print(" Skin Filterscript By Monster[HD]");
  14. print("--------------------------------------\n");
  15. return 1;
  16. }
  17.  
  18. public OnFilterScriptExit()
  19. {
  20. return 1;
  21. }
  22.  
  23. #else
  24. #define COLOR_GREY 0xAFAFAFAA
  25. #define COLOR_GREEN 0x33AA33AA
  26. #define COLOR_RED 0xAA3333AA
  27. #define COLOR_YELLOW 0xFFFF00AA
  28. #define COLOR_WHITE 0xFFFFFFAA
  29.  
  30. main()
  31. {
  32. print("\n----------------------------------");
  33. print(" Blank Gamemode by your name here");
  34. print("----------------------------------\n");
  35. }
  36.  
  37. #endif
  38.  
  39. public OnGameModeInit()
  40. {
  41. // Don't use these lines if it's a filterscript
  42. SetGameModeText("Blank Script");
  43. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  44. return 1;
  45. }
  46.  
  47. public OnGameModeExit()
  48. {
  49. return 1;
  50. }
  51.  
  52. public OnPlayerRequestClass(playerid, classid)
  53. {
  54. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  55. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  56. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  57. return 1;
  58. }
  59.  
  60. public OnPlayerConnect(playerid)
  61. {
  62. return 1;
  63. }
  64.  
  65. public OnPlayerDisconnect(playerid, reason)
  66. {
  67. return 1;
  68. }
  69.  
  70. public OnPlayerSpawn(playerid)
  71. {
  72. return 1;
  73. }
  74.  
  75. public OnPlayerDeath(playerid, killerid, reason)
  76. {
  77. return 1;
  78. }
  79.  
  80. public OnVehicleSpawn(vehicleid)
  81. {
  82. return 1;
  83. }
  84.  
  85. public OnVehicleDeath(vehicleid, killerid)
  86. {
  87. return 1;
  88. }
  89.  
  90. public OnPlayerText(playerid, text[])
  91. {
  92. return 1;
  93. }
  94.  
  95. public OnPlayerCommandText(playerid, cmdtext[])
  96. {
  97. if (strcmp("/s 30", cmdtext, true, 10) ==0)
  98. {
  99. SetPlayerSkin(playerid, 30);
  100. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-30");
  101. return 1;
  102. }
  103. if (strcmp("/s 29", cmdtext, true, 10) ==0)
  104. {
  105. SetPlayerSkin(playerid, 29);
  106. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-29");
  107. return 1;
  108. }
  109. if (strcmp("/s 28", cmdtext, true, 10) ==0)
  110. {
  111. SetPlayerSkin(playerid, 28);
  112. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-28");
  113. return 1;
  114. }
  115. if (strcmp("/s 27", cmdtext, true, 10) ==0)
  116. {
  117. SetPlayerSkin(playerid, 27);
  118. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-27");
  119. return 1;
  120. }
  121. if (strcmp("/s 26", cmdtext, true, 10) ==0)
  122. {
  123. SetPlayerSkin(playerid, 26);
  124. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-26");
  125. return 1;
  126. }
  127. if (strcmp("/s 25", cmdtext, true, 10) ==0)
  128. {
  129. SetPlayerSkin(playerid, 25);
  130. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-25");
  131. return 1;
  132. }
  133. if (strcmp("/s 24", cmdtext, true, 10) ==0)
  134. {
  135. SetPlayerSkin(playerid, 24);
  136. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-24");
  137. return 1;
  138. }
  139. if (strcmp("/s 23", cmdtext, true, 10) ==0)
  140. {
  141. SetPlayerSkin(playerid, 23);
  142. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-23");
  143. return 1;
  144. }
  145. if (strcmp("/s 22", cmdtext, true, 10) ==0)
  146. {
  147. SetPlayerSkin(playerid, 22);
  148. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-22");
  149. return 1;
  150. }
  151. if (strcmp("/s 21", cmdtext, true, 10) ==0)
  152. {
  153. SetPlayerSkin(playerid, 21);
  154. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-21");
  155. return 1;
  156. }
  157. if (strcmp("/s 20", cmdtext, true, 10) ==0)
  158. {
  159. SetPlayerSkin(playerid, 20);
  160. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-20");
  161. return 1;
  162. }
  163. if (strcmp("/s 19", cmdtext, true, 10) ==0)
  164. {
  165. SetPlayerSkin(playerid, 19);
  166. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-19");
  167. return 1;
  168. }
  169. if (strcmp("/s 18", cmdtext, true, 10) ==0)
  170. {
  171. SetPlayerSkin(playerid, 18);
  172. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-18");
  173. return 1;
  174. }
  175. if (strcmp("/s 17", cmdtext, true, 10) ==0)
  176. {
  177. SetPlayerSkin(playerid, 17);
  178. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-17");
  179. return 1;
  180. }
  181. if (strcmp("/s 16", cmdtext, true, 10) ==0)
  182. {
  183. SetPlayerSkin(playerid, 16);
  184. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-16");
  185. return 1;
  186. }
  187. if (strcmp("/s 15", cmdtext, true, 10) ==0)
  188. {
  189. SetPlayerSkin(playerid, 15);
  190. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-15");
  191. return 1;
  192. }
  193. if (strcmp("/s 14", cmdtext, true, 10) ==0)
  194. {
  195. SetPlayerSkin(playerid, 14);
  196. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-14");
  197. return 1;
  198. }
  199. if (strcmp("/s 13", cmdtext, true, 10) ==0)
  200. {
  201. SetPlayerSkin(playerid, 13);
  202. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-13");
  203. return 1;
  204. }
  205. if (strcmp("/s 12", cmdtext, true, 10) ==0)
  206. {
  207. SetPlayerSkin(playerid, 12);
  208. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-12");
  209. return 1;
  210. }
  211. if (strcmp("/s 11", cmdtext, true, 10) ==0)
  212. {
  213. SetPlayerSkin(playerid, 11);
  214. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-11");
  215. return 1;
  216. }
  217. if (strcmp("/s 10", cmdtext, true, 10) ==0)
  218. {
  219. SetPlayerSkin(playerid, 10);
  220. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-10");
  221. return 1;
  222. }
  223. if (strcmp("/s 9", cmdtext, true, 10) ==0)
  224. {
  225. SetPlayerSkin(playerid, 9);
  226. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-9");
  227. return 1;
  228. }
  229. if (strcmp("/s 8", cmdtext, true, 10) ==0)
  230. {
  231. SetPlayerSkin(playerid, 8);
  232. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-8");
  233. return 1;
  234. }
  235. if (strcmp("/s 7", cmdtext, true, 10) ==0)
  236. {
  237. SetPlayerSkin(playerid, 7);
  238. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-7");
  239. return 1;
  240. }
  241. if (strcmp("/s 6", cmdtext, true, 10) ==0)
  242. {
  243. SetPlayerSkin(playerid, 6);
  244. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-6");
  245. return 1;
  246. }
  247. if (strcmp("/s 5", cmdtext, true, 10) ==0)
  248. {
  249. SetPlayerSkin(playerid, 5);
  250. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-5");
  251. return 1;
  252. }
  253. if (strcmp("/s 4", cmdtext, true, 10) ==0)
  254. {
  255. SetPlayerSkin(playerid, 4);
  256. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-4");
  257. return 1;
  258. }
  259. if (strcmp("/s 3", cmdtext, true, 10) ==0)
  260. {
  261. SetPlayerSkin(playerid, 3);
  262. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-3");
  263. return 1;
  264. }
  265. if (strcmp("/s 2", cmdtext, true, 10) ==0)
  266. {
  267. SetPlayerSkin(playerid, 2);
  268. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-2");
  269. return 1;
  270. }
  271. if (strcmp("/s 1", cmdtext, true, 10) == 0)
  272. {
  273. SetPlayerSkin(playerid, 1);
  274. SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-1");
  275. return 1;
  276. }
  277. return 0;
  278. }
  279.  
  280. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  281. {
  282. return 1;
  283. }
  284.  
  285. public OnPlayerExitVehicle(playerid, vehicleid)
  286. {
  287. return 1;
  288. }
  289.  
  290. public OnPlayerStateChange(playerid, newstate, oldstate)
  291. {
  292. return 1;
  293. }
  294.  
  295. public OnPlayerEnterCheckpoint(playerid)
  296. {
  297. return 1;
  298. }
  299.  
  300. public OnPlayerLeaveCheckpoint(playerid)
  301. {
  302. return 1;
  303. }
  304.  
  305. public OnPlayerEnterRaceCheckpoint(playerid)
  306. {
  307. return 1;
  308. }
  309.  
  310. public OnPlayerLeaveRaceCheckpoint(playerid)
  311. {
  312. return 1;
  313. }
  314.  
  315. public OnRconCommand(cmd[])
  316. {
  317. return 1;
  318. }
  319.  
  320. public OnPlayerRequestSpawn(playerid)
  321. {
  322. return 1;
  323. }
  324.  
  325. public OnObjectMoved(objectid)
  326. {
  327. return 1;
  328. }
  329.  
  330. public OnPlayerObjectMoved(playerid, objectid)
  331. {
  332. return 1;
  333. }
  334.  
  335. public OnPlayerPickUpPickup(playerid, pickupid)
  336. {
  337. return 1;
  338. }
  339.  
  340. public OnVehicleMod(playerid, vehicleid, componentid)
  341. {
  342. return 1;
  343. }
  344.  
  345. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  346. {
  347. return 1;
  348. }
  349.  
  350. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  351. {
  352. return 1;
  353. }
  354.  
  355. public OnPlayerSelectedMenuRow(playerid, row)
  356. {
  357. return 1;
  358. }
  359.  
  360. public OnPlayerExitedMenu(playerid)
  361. {
  362. return 1;
  363. }
  364.  
  365. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  366. {
  367. return 1;
  368. }
  369.  
  370. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  371. {
  372. return 1;
  373. }
  374.  
  375. public OnRconLoginAttempt(ip[], password[], success)
  376. {
  377. return 1;
  378. }
  379.  
  380. public OnPlayerUpdate(playerid)
  381. {
  382. return 1;
  383. }
  384.  
  385. public OnPlayerStreamIn(playerid, forplayerid)
  386. {
  387. return 1;
  388. }
  389.  
  390. public OnPlayerStreamOut(playerid, forplayerid)
  391. {
  392. return 1;
  393. }
  394.  
  395. public OnVehicleStreamIn(vehicleid, forplayerid)
  396. {
  397. return 1;
  398. }
  399.  
  400. public OnVehicleStreamOut(vehicleid, forplayerid)
  401. {
  402. return 1;
  403. }
  404.  
  405. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  406. {
  407. return 1;
  408. }
  409.  
  410. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  411. {
  412. return 1;
  413. }
Advertisement
Add Comment
Please, Sign In to add comment