Guest User

COD LVSI helper RPG1

a guest
Jan 1st, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.66 KB | None | 0 0
  1. {$CLEO}
  2.  
  3. 0662: "LVSI School Instrucotrs"
  4. wait 2500
  5.  
  6. 0B34: samp register_client_command "lvsi" to_label @cmd_10
  7. 0B34: samp register_client_command "toate" to_label @cmd_11
  8.  
  9. 0B34: samp register_client_command "zbor" to_label @cmd_12
  10. 0B34: samp register_client_command "zbor1" to_label @cmd_13
  11. 0B34: samp register_client_command "zbor2" to_label @cmd_14
  12.  
  13. 0B34: samp register_client_command "barca" to_label @cmd_15
  14. 0B34: samp register_client_command "barca1" to_label @cmd_16
  15. 0B34: samp register_client_command "barca2" to_label @cmd_17
  16.  
  17. 0B34: samp register_client_command "mats" to_label @cmd_18
  18. 0B34: samp register_client_command "mats1" to_label @cmd_19
  19. 0B34: samp register_client_command "mats2" to_label @cmd_20
  20. 0B34: samp register_client_command "mats3" to_label @cmd_21
  21. 0B34: samp register_client_command "mats4" to_label @cmd_27
  22.  
  23. 0B34: samp register_client_command "fishing" to_label @cmd_22
  24. 0B34: samp register_client_command "fish1" to_label @cmd_23
  25.  
  26. 0B34: samp register_client_command "arme" to_label @cmd_24
  27. 0B34: samp register_client_command "arme1" to_label @cmd_25
  28. 0B34: samp register_client_command "arme2" to_label @cmd_26
  29. 0B34: samp register_client_command "arme3" to_label @cmd_28
  30.  
  31. 0B34: samp register_client_command "fisht" to_label @cmd_29
  32. 0B34: samp register_client_command "zbort" to_label @cmd_30
  33. 0B34: samp register_client_command "matst" to_label @cmd_31
  34. 0B34: samp register_client_command "armet" to_label @cmd_32
  35. 0B34: samp register_client_command "barcat" to_label @cmd_33
  36.  
  37. 0B34: samp register_client_command "ptzbor" to_label @cmd_34
  38. 0B34: samp register_client_command "ptbarca" to_label @cmd_35
  39. 0B34: samp register_client_command "ptmats" to_label @cmd_36
  40. 0B34: samp register_client_command "ptfish" to_label @cmd_37
  41. 0B34: samp register_client_command "ptarme" to_label @cmd_38
  42.  
  43.  
  44. 0AB1: call_scm_func @chatmsg 0
  45.  
  46. :cmd_7979
  47. wait 0
  48. jump @cmd_7979
  49.  
  50. //--------------------------------------------------------*Info*------------------------------------------------------------------------------
  51. :cmd_10
  52. SAMP.IsCommandTyped(20@)
  53. chatmsg "{9a1a1a}RPG1 {FFFFFF}- {98FBCA}Las Venturas School Instructors helper {FFFFFF}by {367bf0}rakeN77"
  54. chatmsg ""
  55. chatmsg "{98FBCA}Pentru a anunta ca e la tine pentru toate licentele:{FFFFFF} [/toate]"
  56. chatmsg "{98FBCA}Pentru a anunta ca e la tine pentru o anume licenta:{FFFFFF} [/ptzbor], [/ptbarca], [/ptmats], [/ptfish], [/ptarme]"
  57. chatmsg "{98FBCA}Pentru inceput: {FFFFFF} [/zbor ID], [/arme ID], [/barca ID], [/mats ID], [/fishing ID]"
  58. chatmsg "{98FBCA}Pentru oprit: {FFFFFF} [/zbort ID], [/armet ID], [/barcat ID], [/matst ID], [/fisht ID]"
  59. chatmsg "{98FBCA}Pentru licenta de zbor: {FFFFFF}[/zbor ID], [/zbor1], [/zbor2], [/zbort ID], [/ptzbor]"
  60. chatmsg "{98FBCA}Pentru licenta de sailing: {FFFFFF}[/barca ID], [/barca1], [/barca2], [/barcat ID], [/ptbarca]"
  61. chatmsg "{98FBCA}Pentru licenta de materiale: {FFFFFF}[/mats ID], [/mats1], [/mats2], [/mats3], [/mats4], [/matst ID], [/ptmats]"
  62. chatmsg "{98FBCA}Pentru licenta de pescuit: {FFFFFF}[/fishing ID], [/fish1], [/fisht ID], [/ptfish]"
  63. chatmsg "{98FBCA}Pentru licenta de arme: {FFFFFF}[/arme ID], [/arme1], [/arme2], [/arme3], [/armet ID], [/ptarme]"
  64. SAMP.CmdRet()
  65.  
  66. :cmd_11
  67. SAMP.IsCommandTyped(20@)
  68. if
  69. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  70. then
  71. 0B36: samp 1@ = get_player_nickname 21@
  72. 0AF9: samp say_msg "/f %s (%d) este la mine pentru toate licentele." 1@ 21@
  73. end
  74. SAMP.CmdRet()
  75.  
  76. :cmd_12
  77. SAMP.IsCommandTyped(20@)
  78. if
  79. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  80. then
  81. 0B36: samp 1@ = get_player_nickname 21@
  82. 0AF9: samp say_msg "/f %s (%d) incepe testul pentru Flying license - Maverick [1000.0 HP]." 1@ 21@
  83. 0AF9: samp say_msg "/startlesson %s Flying" 1@
  84. end
  85. SAMP.CmdRet()
  86.  
  87. :cmd_13
  88. SAMP.IsCommandTyped(20@)
  89.  
  90. 0AF9: samp say_msg "/cw Te rog sa alegi un aeroport si sa aterizezi pe el."
  91. 0AF9: samp say_msg "/cw Dar ai grija ca elicopterul sa nu scada sub 950.0 HP."
  92.  
  93. SAMP.CmdRet()
  94.  
  95. :cmd_14
  96. SAMP.IsCommandTyped(20@)
  97.  
  98. 0AF9: samp say_msg "/cw Bun! Acum intoarce-te de unde am plecat!"
  99.  
  100. SAMP.CmdRet()
  101.  
  102. :cmd_15
  103. SAMP.IsCommandTyped(20@)
  104. if
  105. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  106. then
  107. 0B36: samp 1@ = get_player_nickname 21@
  108. 0AF9: samp say_msg "/f %s (%d) incepe testul pentru Sailing license - Speeder [1000.0 HP]." 1@ 21@
  109. 0AF9: samp say_msg "/startlesson %s Sailing" 1@
  110. end
  111. SAMP.CmdRet()
  112.  
  113. :cmd_16
  114. SAMP.IsCommandTyped(20@)
  115.  
  116. 0AF9: samp say_msg "Te rog sa ma duci la vaporul NG din San Fiero"
  117. 0AF9: samp say_msg "Dar ai grija ca barca sa nu scada sub 950.0 HP."
  118.  
  119. SAMP.CmdRet()
  120.  
  121. :cmd_17
  122. SAMP.IsCommandTyped(20@)
  123.  
  124. 0AF9: samp say_msg "Bun, acum intoarce-te de unde am plecat."
  125.  
  126. SAMP.CmdRet()
  127.  
  128. :cmd_18
  129. SAMP.IsCommandTyped(20@)
  130. if
  131. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  132. then
  133. 0B36: samp 1@ = get_player_nickname 21@
  134. 0AF9: samp say_msg "/f %s (%d) incepe testul pentru Materials license." 1@ 21@
  135. 0AF9: samp say_msg "/startlesson %s Materials" 1@
  136. end
  137. SAMP.CmdRet()
  138.  
  139. :cmd_19
  140. SAMP.IsCommandTyped(20@)
  141.  
  142. 0AF9: samp say_msg "/cw Mergi la unul dintre cele 3 depozite de materiale"
  143.  
  144. SAMP.CmdRet()
  145.  
  146. :cmd_20
  147. SAMP.IsCommandTyped(20@)
  148.  
  149.  
  150. 0AF9: samp say_msg "/cw Unde nu ai voie sa vinzi arme?"
  151.  
  152. SAMP.CmdRet()
  153.  
  154. :cmd_21
  155. SAMP.IsCommandTyped(20@)
  156.  
  157.  
  158. 0AF9: samp say_msg "/cw Cum vezi zonele sigure?"
  159.  
  160. SAMP.CmdRet()
  161.  
  162. :cmd_27
  163. SAMP.IsCommandTyped(20@)
  164.  
  165.  
  166. 0AF9: samp say_msg "/cw Spune-mi comanda completa prin care vinzi o arma cuiva."
  167.  
  168. :cmd_22
  169. SAMP.IsCommandTyped(20@)
  170. if
  171. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  172. then
  173. 0B36: samp 1@ = get_player_nickname 21@
  174. 0AF9: samp say_msg "/f %s (%d) incepe testul pentru Fishing license." 1@ 21@
  175. 0AF9: samp say_msg "/startlesson %s Fishing" 1@
  176.  
  177. end
  178. SAMP.CmdRet()
  179.  
  180. :cmd_23
  181. SAMP.IsCommandTyped(20@)
  182.  
  183. 0AF9: samp say_msg " Bun, te rog sa-mi spui ce fac comenzile [/fish], [/fishes] si [/sellfishes]."
  184.  
  185. SAMP.CmdRet()
  186.  
  187. :cmd_24
  188. SAMP.IsCommandTyped(20@)
  189. if
  190. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  191. then
  192. 0B36: samp 1@ = get_player_nickname 21@
  193.  
  194. 0AF9: samp say_msg "/f %s (%d) incepe testul pentru Weapon license." 1@ 21@
  195. 0AF9: samp say_msg "/startlesson %s Weapon" 1@
  196.  
  197. end
  198.  
  199. SAMP.CmdRet()
  200.  
  201. :cmd_25
  202. SAMP.IsCommandTyped(20@)
  203.  
  204. 0AF9: samp say_msg "/cw Enumera 5 arme din GTA."
  205.  
  206. SAMP.CmdRet()
  207.  
  208. :cmd_26
  209. SAMP.IsCommandTyped(20@)
  210.  
  211. 0AF9: samp say_msg "/cw Cum vezi zonele sigure si ce nu ai voie sa faci in acestea?"
  212.  
  213. SAMP.CmdRet()
  214.  
  215.  
  216. :cmd_28
  217. SAMP.IsCommandTyped(20@)
  218.  
  219. 0AF9: samp say_msg "/cw De unde cumperi arme? Si cu ce comanda?"
  220.  
  221. SAMP.CmdRet()
  222.  
  223. :cmd_29
  224. SAMP.IsCommandTyped(20@)
  225. if
  226. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  227. then
  228. 0B36: samp 1@ = get_player_nickname 21@
  229. 0AF9: samp say_msg "/f %s (%d) a trecut testul pentru Fishing license." 1@ 21@
  230. 0AF9: samp say_msg "/givelicense %s Fishing ." 1@
  231. end
  232. SAMP.CmdRet()
  233.  
  234. :cmd_30
  235. SAMP.IsCommandTyped(20@)
  236. if
  237. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  238. then
  239. 0B36: samp 1@ = get_player_nickname 21@
  240. 0AF9: samp say_msg "/f %s (%d) a trecut testul pentru Flying license - Maverick [1000.0 HP]." 1@ 21@
  241. 0AF9: samp say_msg "/givelicense %s Flying" 1@
  242. end
  243. SAMP.CmdRet()
  244.  
  245. :cmd_31
  246. SAMP.IsCommandTyped(20@)
  247. if
  248. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  249. then
  250. 0B36: samp 1@ = get_player_nickname 21@
  251. 0AF9: samp say_msg "/f %s (%d) a trecut testul pentru Materials license." 1@ 21@
  252. 0AF9: samp say_msg "/givelicense %s Materials" 1@
  253.  
  254. end
  255. SAMP.CmdRet()
  256.  
  257. :cmd_32
  258. SAMP.IsCommandTyped(20@)
  259. if
  260. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  261. then
  262. 0B36: samp 1@ = get_player_nickname 21@
  263. 0AF9: samp say_msg "/f %s (%d) a trecut testul pentru Weapon license." 1@ 21@
  264. 0AF9: samp say_msg "/givelicense %s Weapon" 1@
  265. end
  266. SAMP.CmdRet()
  267.  
  268. :cmd_33
  269. SAMP.IsCommandTyped(20@)
  270. if
  271. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  272. then
  273. 0B36: samp 1@ = get_player_nickname 21@
  274. 0AF9: samp say_msg "/f %s (%d) a trecut testul pentru Sailing license." 1@ 21@
  275. 0AF9: samp say_msg "/givelicense %s Sailing" 1@
  276.  
  277. end
  278. SAMP.CmdRet()
  279.  
  280. :cmd_34
  281. SAMP.IsCommandTyped(20@)
  282. if
  283. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  284. then
  285. 0B36: samp 1@ = get_player_nickname 21@
  286. 0AF9: samp say_msg "/f %s (%d) este la mine pentru Flying license." 1@ 21@
  287. end
  288. SAMP.CmdRet()
  289.  
  290. :cmd_35
  291. SAMP.IsCommandTyped(20@)
  292. if
  293. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  294. then
  295. 0B36: samp 1@ = get_player_nickname 21@
  296. 0AF9: samp say_msg "/f %s (%d) este la mine pentru Sailing license." 1@ 21@
  297.  
  298. end
  299. SAMP.CmdRet()
  300.  
  301. :cmd_36
  302. SAMP.IsCommandTyped(20@)
  303. if
  304. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  305. then
  306. 0B36: samp 1@ = get_player_nickname 21@
  307. 0AF9: samp say_msg "/f %s (%d) este la mine pentru Materials license." 1@ 21@
  308. end
  309. SAMP.CmdRet()
  310.  
  311. :cmd_37
  312. SAMP.IsCommandTyped(20@)
  313. if
  314. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  315. then
  316. 0B36: samp 1@ = get_player_nickname 21@
  317. 0AF9: samp say_msg "/f %s (%d) este la mine pentru Fishing license." 1@ 21@
  318. end
  319. SAMP.CmdRet()
  320.  
  321. :cmd_38
  322. SAMP.IsCommandTyped(20@)
  323. if
  324. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  325. then
  326. 0B36: samp 1@ = get_player_nickname 21@
  327. 0AF9: samp say_msg "/f %s (%d) este la mine pentru Weapon license." 1@ 21@
  328.  
  329. end
  330. SAMP.CmdRet()
  331.  
  332. :chatmsg
  333. 0AA2: 0@ = load_library "samp.dll" // IF and SET
  334. 0085: 1@ = 0@ // (int)
  335. 1@ += 2203876
  336. 0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
  337. 0085: 2@ = 0@ // (int)
  338. 2@ += 409616
  339. chatmsg "{9a1a1a}RPG1 {FFFFFF}- {98FBCA}Las Venturas School Instructors helper {FFFFFF}by {367bf0}rakeN77" -1
  340. chatmsg "{98FBCA}Foloseste {9a1a1a}[/lvsi] {98FBCA}pentru mai multe detalii." -1
  341.  
  342. 0AB2: ret 0
Advertisement
Add Comment
Please, Sign In to add comment