gugustiuc

Untitled

Jun 19th, 2021
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.00 KB | None | 0 0
  1. {$CLEO .cs}
  2.  
  3. // Acest script a fost creat de cãtre Konny pentru B-Zone.
  4. // Dacã-l editati/repostati vã rog sã-mi pãstrati creditele!
  5. //
  6. // Variantã a [TaxiHelp by Konny], modificatã de cãtre [Gugustiuc.]
  7.  
  8. 0000:
  9. 03A4: name_thread 'taxitool'
  10.  
  11. REPEAT
  12. WAIT 0
  13. UNTIL 0AFA: SAMP_IS_READY
  14.  
  15. chatmsg "{F1C40F}[TaxiTool v1.3]{FFFFFF} has been loaded. Use {FFFC3C}[/tt]{FFFFFF} to see all the available commands." -1
  16. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} is {FF8E7A}[TaxiHelp by Konny]{FFFFFF}, modified by {8DA5ED}[Gugustiuc.]{FFFFFF}." -1
  17.  
  18. 0B34: samp register_client_command "tt" to_label @taxitool
  19. 0B34: samp register_client_command "arr" to_label @taxi_arr
  20. 0B34: samp register_client_command "mrr" to_label @self_rr
  21. 0B34: samp register_client_command "sc" to_label @service_calls
  22. 0B34: samp register_client_command "od" to_label @onduty
  23. 0B34: samp register_client_command "svs" to_label @services
  24. 0B34: samp register_client_command "mbs" to_label @members
  25. 0B34: samp register_client_command "rpt" to_label @raport
  26. 0B34: samp register_client_command "rr" to_label @taxi_rr
  27. 0B34: samp register_client_command "at" to_label @taxi_accept
  28. 0B34: samp register_client_command "tcc" to_label @taxi_cc
  29. 0B34: samp register_client_command "wr" to_label @taxi_wr
  30. 0B34: samp register_client_command "ewr" to_label @taxi_ewr
  31. 0B34: samp register_client_command "fm" to_label @taxi_fm
  32. 0B34: samp register_client_command "efm" to_label @taxi_efm
  33. 0B34: samp register_client_command "thx" to_label @taxi_thx
  34. 0B34: samp register_client_command "ethx" to_label @taxi_ethx
  35. 0B34: samp register_client_command "tls" to_label @taxi_tls
  36. 0B34: samp register_client_command "etls" to_label @taxi_etls
  37. 0B34: samp register_client_command "tsf" to_label @taxi_tsf
  38. 0B34: samp register_client_command "etsf" to_label @taxi_etsf
  39. 0B34: samp register_client_command "tlv" to_label @taxi_tlv
  40. 0B34: samp register_client_command "etlv" to_label @taxi_etlv
  41. 0B34: samp register_client_command "ph" to_label @taxi_posthunt
  42. 0B34: samp register_client_command "sgn" to_label @taxi_sgn
  43. 0B34: samp register_client_command "sgn2" to_label @taxi_sgn2
  44. 0B34: samp register_client_command "fr" to_label @taxi_liber
  45. 0B34: samp register_client_command "efr" to_label @taxi_eliber
  46. 0B34: samp register_client_command "rp" to_label @taxi_rp
  47. 0B34: samp register_client_command "erp" to_label @taxi_erp
  48. 0B34: samp register_client_command "rp2" to_label @taxi_rp2
  49. 0B34: samp register_client_command "erp2" to_label @taxi_erp2
  50. 0B34: samp register_client_command "fa" to_label @taxi_fare20
  51. 0B34: samp register_client_command "fa1" to_label @taxi_fare1
  52. 0B34: samp register_client_command "f1" to_label @taxi_fare1
  53. 0B34: samp register_client_command "f2" to_label @taxi_fare20
  54. 0B34: samp register_client_command "fvr10" to_label @taxi_fvr10
  55. 0B34: samp register_client_command "fvr5" to_label @taxi_fvr5
  56. 0B34: samp register_client_command "afk" to_label @taxi_afk
  57. 0B34: samp register_client_command "eafk" to_label @taxi_eafk
  58. 0B34: samp register_client_command "lang" to_label @taxi_lang
  59. 0B34: samp register_client_command "elang" to_label @taxi_elang
  60. 0B34: samp register_client_command "ltime" to_label @ora_locala
  61. 0B34: samp register_client_command "stime" to_label @ora_server
  62.  
  63. 0AAB: file_exists "CLEO\taxitool.ini"
  64. 0AC8: 25@ = allocate_memory_size 260
  65. 0AC8: 26@ = allocate_memory_size 260
  66. 0AC8: 27@ = allocate_memory_size 260
  67. 0AC8: 28@ = allocate_memory_size 260
  68.  
  69. 0AF4: 25@ = read_string_from_ini_file "CLEO\taxitool.ini" section "CONF" key "evening"
  70. 0AF4: 26@ = read_string_from_ini_file "CLEO\taxitool.ini" section "CONF" key "night"
  71. 0AF4: 27@ = read_string_from_ini_file "CLEO\taxitool.ini" section "CONF" key "morning"
  72. 0AF4: 28@ = read_string_from_ini_file "CLEO\taxitool.ini" section "CONF" key "afternoon"
  73.  
  74.  
  75. while true
  76. wait 20
  77.  
  78. if 9@ == 1
  79. then
  80. chatmsg "9 was set to 1" -1
  81. if 0256: player $PLAYER_CHAR defined
  82. then
  83. for 0@ = 0 to 2048 // 2048 = max TextDraw ID in decimal
  84. if 9@ == 1
  85. then
  86. if 0AB1: @IsSampTextDrawExist 1 TextDrawID 0@
  87. then
  88. 0AB1: @GetTextDrawText 1 TextDrawID 0@ _Returned: Text 1@
  89. if 0AD4: $NOT_USED = scan_string 1@ format "%d:%d:%d" 3@ 4@ 5@
  90. then
  91. if or
  92. 3@ == 19
  93. 3@ == 20
  94. 3@ == 21
  95. 3@ == 22
  96. 3@ == 23
  97. then
  98. // 0AF9: samp say_msg "O searã bunã!"
  99. 0AF9: samp say_msg 25@
  100. chatmsg "Evening" -1
  101. chatmsg "Setting 9 to 0." -1
  102. 9@ = 0
  103. else
  104. if or
  105. 3@ == 0
  106. 3@ == 1
  107. 3@ == 2
  108. 3@ == 3
  109. 3@ == 4
  110. then
  111. // 0AF9: samp say_msg "Spor la joc!"
  112. 0AF9: samp say_msg 26@
  113. chatmsg "Night" -1
  114. chatmsg "Setting 9 to 0." -1
  115. 9@ = 0
  116. else
  117. if or
  118. 3@ == 5
  119. 3@ == 6
  120. 3@ == 7
  121. 3@ == 8
  122. 3@ == 9
  123. 3@ == 10
  124. 3@ == 11
  125. then
  126. // 0AF9: samp say_msg "O dimineatã frumoasã!"
  127. 0AF9: samp say_msg 27@
  128. chatmsg "Morning" -1
  129. chatmsg "Setting 9 to 0." -1
  130. 9@ = 0
  131. else
  132. if or
  133. 3@ == 12
  134. 3@ == 13
  135. 3@ == 14
  136. 3@ == 15
  137. 3@ == 16
  138. 3@ == 17
  139. 3@ == 18
  140. then
  141. // 0AF9: samp say_msg "O dupã-amiazã plãcutã!"
  142. 0AF9: samp say_msg 28@
  143. chatmsg "Afternoon" -1
  144. chatmsg "Setting 9 to 0." -1
  145. 9@ = 0
  146. end
  147. end
  148. end
  149. end
  150. end
  151. end
  152. else
  153. chatmsg "9 is not 1 anymore, breaking loop." -1
  154. break
  155. end
  156. end
  157. end
  158. end
  159.  
  160. if
  161. 10@ > 0
  162. then
  163. if
  164. 10@ == 1
  165. then
  166. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} FVR will be done automatically in 10 seconds... Use [/fvr10] again to cancel this!" -1
  167. 0AF9: samp say_msg " FVR in 10 secunde / FVR in 10 seconds!"
  168. wait 10000
  169. if
  170. 10@ == 1
  171. then
  172. 0AF9: samp say_msg "/fvr"
  173. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} 10 seconds have passed, FVR done!" -1
  174. 10@ = 0
  175. end
  176. else
  177. if
  178. 10@ == 2
  179. then
  180. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} FVR will be done automatically in 5 seconds... Use [/fvr5] again to cancel this!" -1
  181. 0AF9: samp say_msg " FVR in 5 secunde / FVR in 5 seconds!"
  182. wait 5000
  183. if
  184. 10@ == 2
  185. then
  186. 0AF9: samp say_msg "/fvr"
  187. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} 5 seconds have passed, FVR done!" -1
  188. 10@ = 0
  189. end
  190. end
  191. end
  192. end
  193. end
  194.  
  195. :loop
  196. wait 0
  197. jump @loop
  198.  
  199. :taxitool
  200. 0AC6: 17@ = label @content offset
  201. SAMP.ShowDialog(7777, "{F1C40F}[TaxiTool v1.3]{FFFFFF} (modified by {8DA5ED}[Gugustiuc.]{FFFFFF}) - comenzi disponibile", 17@, "{FFFFFF}Close", "", 0)
  202. 0B43: samp cmd_ret
  203.  
  204. :content
  205. hex
  206. "{33FFFF}[/fa] {FFFFFF}- te pui {FFFF00}ON DUTY{FFFFFF} cu {FFFF00}[/fare 20]{FFFFFF} (sau {33FFFF}[/f2]{FFFFFF})."A
  207. "{33FFFF}[/fa1] {FFFFFF}- te pui {FFFF00}ON DUTY{FFFFFF} cu {FFFF00}[/fare 1]{FFFFFF} (sau {33FFFF}[/f1]{FFFFFF})."A
  208. "{33FFFF}[/at <ID>] {FFFFFF}- este o prescurtare a comenzii {FFFF00}[/accept taxi <ID>]{FFFFFF}."A
  209. "{33FFFF}[/wr <id>] {FFFFFF}- intrebi clientul unde doreste sa mearga - {8DA5ED}ID optional{FFFFFF} ({33FFFF}[/ewr <id>]{FFFFFF} pt. Engleza)."A
  210. "{33FFFF}[/rp] {FFFFFF}- ceri un reper catre destinatie (checkpoint pe harta, sau ID de biz/casa) ({33FFFF}[/erp]{FFFFFF} pt. Engleza)."A
  211. "{33FFFF}[/rp2] {FFFFFF}- mentionezi ca daca nu este oferit un reper, se risca /eject ({33FFFF}[/erp2]{FFFFFF} pt. Engleza)."A
  212. "{33FFFF}[/fm] {FFFFFF}- mentionezi clientului sa iti spuna daca doreste un post de radio anume ({33FFFF}[/efm]{FFFFFF} pt. Engleza)."A
  213. "{33FFFF}[/thx <id>] {FFFFFF}- multumesti clientului ca a ales sa cheme un taxi pentru a ajunge la destinatie - {8DA5ED}ID optional{FFFFFF} ({33FFFF}[/ethx <id>]{FFFFFF} pt. Engleza)."A
  214. "{33FFFF}[/tls <id>] {FFFFFF}- multumesti clientului ca a ales serviciile LS Taxi - {8DA5ED}ID optional{FFFFFF} ({33FFFF}[/etls <id>]{FFFFFF} pt. Engleza)."A
  215. "{33FFFF}[/tlv <id>] {FFFFFF}- multumesti clientului ca a ales serviciile LV Taxi - {8DA5ED}ID optional{FFFFFF} ({33FFFF}[/etlv <id>]{FFFFFF} pt. Engleza)."A
  216. "{33FFFF}[/tsf <id>] {FFFFFF}- multumesti clientului ca a ales serviciile SF Taxi - {8DA5ED}ID optional{FFFFFF} ({33FFFF}[/etsf <id>]{FFFFFF} pt. Engleza)."A
  217. "{33FFFF}[/afk <id>] {FFFFFF}- mentionezi clientului ca ati ajuns la destinatie, si ca va trebui sa ii dai [/eject] deoarece este AFK, cu [/eject] automat ({33FFFF}[/eafk <id>]{FFFFFF} pt. Engleza)."A
  218. "{33FFFF}[/lang <id>] {FFFFFF}- mentionezi clientului ca ii ai dreptul sa ii dai [/eject] deoarece a folosit un limbaj vulgar la adresa ta, cu [/eject] automat ({33FFFF}[/elang <id>]{FFFFFF} pt. Engleza)."A
  219. "{33FFFF}[/rr <id>] {FFFFFF}- oferi atat repair cat si refill ID-ului ales, pentru $1."A
  220. "{33FFFF}[/arr <id>] {FFFFFF}- accepti repair si refill oferit de un jucator."A
  221. "{33FFFF}[/mrr] {FFFFFF}- iti dai tie atat repair cat si refill."A
  222. "{33FFFF}[/sc] {FFFFFF} - comanda {FFFF00}[/servicecalls]{FFFFFF}."A
  223. "{33FFFF}[/od] {FFFFFF} - comanda {FFFF00}[/onduty]{FFFFFF}."A
  224. "{33FFFF}[/rpt] {FFFFFF} - comanda {FFFF00}[/raport]{FFFFFF}."A
  225. "{33FFFF}[/mbs] {FFFFFF} - comanda {FFFF00}[/members]{FFFFFF}."A
  226. "{33FFFF}[/svs] {FFFFFF} - comanda {FFFF00}[/services]{FFFFFF}."A
  227. "{33FFFF}[/ph <id>] {FFFFFF}- anunti pe {FFFF00}[/tx]{FFFFFF} ca cineva este potential post-hunter."A
  228. "{33FFFF}[/fr] {FFFFFF}- arata un mesaj cum ca Taxi-ul este liber ({33FFFF}[/efr]{FFFFFF} pt. Engleza)."A
  229. "{33FFFF}[/fvr5]{FFFFFF} & {33FFFF}[/fvr10]{FFFFFF} - anunti pe {FFFF00}[/f]{FFFFFF} ca vei da {FFFF00}[/fvr]{FFFFFF}, iar dupa 5 sau 10 secunde se va da {FFFF00}[/fvr]{FFFFFF} automat. Foloseste {33FFFF}[/fvr5]{FFFFFF} sau {33FFFF}[/fvr10]{FFFFFF} din nou pentru a anula actiunea."A
  230. "{33FFFF}[/sgn]{FFFFFF} & {33FFFF}[/sgn2] {FFFFFF}- sloganul numarul 1 si sloganul numarul 2."A
  231. "{33FFFF}[/tcc] {FFFFFF}- goleste continutul chat-ului."00
  232. end
  233.  
  234. :ora_locala
  235. 00BF: 14@ = current_time_hours, 15@ = current_time_minutes
  236. chatmsg "Ora: %d" -1 14@
  237. 0B43: samp cmd_ret
  238.  
  239. :ora_server
  240. if 9@ == 0
  241. then
  242. 9@ = 1
  243. end
  244. 0B43: samp cmd_ret
  245.  
  246. :taxi_arr
  247. SAMP.IsCommandTyped(20@)
  248. if
  249. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  250. then
  251. 0AF9: samp say_msg "/accept repair %d" 21@
  252. 0AF9: samp say_msg "/accept refill %d" 21@
  253. else
  254. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/arr <id>] to accept repair and refill from someone." -1
  255. end
  256. 0B43: samp cmd_ret
  257.  
  258. :taxi_rr
  259. SAMP.IsCommandTyped(20@)
  260. if
  261. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  262. then
  263. 0AF9: samp say_msg "/repair %d 1" 21@
  264. 0AF9: samp say_msg "/refill %d 1" 21@
  265. else
  266. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/rr <id>] to offer repair and refill to someone for $1." -1
  267. end
  268. 0B43: samp cmd_ret
  269.  
  270. :self_rr
  271. 0AF9: samp say_msg "/repair"
  272. 0AF9: samp say_msg "/refill"
  273. 0B43: samp cmd_ret
  274.  
  275. :taxi_accept
  276. SAMP.IsCommandTyped(20@)
  277. if
  278. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  279. then
  280. 0AF9: samp say_msg "/accept taxi %d" 21@
  281. else
  282. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/at <id>] to accept someone's taxi order." -1
  283. end
  284. 0B43: samp cmd_ret
  285.  
  286. :service_calls
  287. 0AF9: samp say_msg "/servicecalls"
  288. 0B43: samp cmd_ret
  289.  
  290. :onduty
  291. 0AF9: samp say_msg "/onduty"
  292. 0B43: samp cmd_ret
  293.  
  294. :services
  295. 0AF9: samp say_msg "/services"
  296. 0B43: samp cmd_ret
  297.  
  298. :members
  299. 0AF9: samp say_msg "/members"
  300. 0B43: samp cmd_ret
  301.  
  302. :raport
  303.  
  304. 0AF9: samp say_msg "/raport"
  305. 0B43: samp cmd_ret
  306.  
  307. :taxi_cc
  308. 0001: wait 0 ms
  309. chatmsg samp add_message_to_chat " " color -1
  310. chatmsg samp add_message_to_chat " " color -1
  311. chatmsg samp add_message_to_chat " " color -1
  312. chatmsg samp add_message_to_chat " " color -1
  313. chatmsg samp add_message_to_chat " " color -1
  314. chatmsg samp add_message_to_chat " " color -1
  315. chatmsg samp add_message_to_chat " " color -1
  316. chatmsg samp add_message_to_chat " " color -1
  317. chatmsg samp add_message_to_chat " " color -1
  318. chatmsg samp add_message_to_chat " " color -1
  319. chatmsg samp add_message_to_chat " " color -1
  320. chatmsg samp add_message_to_chat " " color -1
  321. chatmsg samp add_message_to_chat " " color -1
  322. chatmsg samp add_message_to_chat " " color -1
  323. chatmsg samp add_message_to_chat " " color -1
  324. chatmsg samp add_message_to_chat " " color -1
  325. chatmsg samp add_message_to_chat " " color -1
  326. chatmsg samp add_message_to_chat " " color -1
  327. chatmsg samp add_message_to_chat " " color -1
  328. chatmsg samp add_message_to_chat " " color -1
  329. chatmsg samp add_message_to_chat " " color -1
  330. chatmsg samp add_message_to_chat " " color -1
  331. chatmsg samp add_message_to_chat " " color -1
  332. chatmsg samp add_message_to_chat " " color -1
  333. chatmsg samp add_message_to_chat " " color -1
  334. chatmsg samp add_message_to_chat " " color -1
  335. chatmsg samp add_message_to_chat " " color -1
  336. chatmsg samp add_message_to_chat " " color -1
  337. chatmsg samp add_message_to_chat " " color -1
  338. chatmsg samp add_message_to_chat " " color -1
  339. chatmsg samp add_message_to_chat " " color -1
  340. chatmsg samp add_message_to_chat " " color -1
  341. chatmsg samp add_message_to_chat " " color -1
  342. chatmsg samp add_message_to_chat " " color -1
  343. chatmsg samp add_message_to_chat " " color -1
  344. chatmsg samp add_message_to_chat " " color -1
  345. chatmsg samp add_message_to_chat " " color -1
  346. chatmsg samp add_message_to_chat " " color -1
  347. chatmsg samp add_message_to_chat " " color -1
  348. chatmsg samp add_message_to_chat " " color -1
  349. chatmsg samp add_message_to_chat " " color -1
  350. chatmsg samp add_message_to_chat " " color -1
  351. chatmsg samp add_message_to_chat " " color -1
  352. chatmsg samp add_message_to_chat " " color -1
  353. chatmsg samp add_message_to_chat " " color -1
  354. chatmsg samp add_message_to_chat " " color -1
  355. chatmsg samp add_message_to_chat " " color -1
  356. chatmsg samp add_message_to_chat " " color -1
  357. chatmsg samp add_message_to_chat " " color -1
  358. chatmsg samp add_message_to_chat " " color -1
  359. chatmsg samp add_message_to_chat " " color -1
  360. chatmsg samp add_message_to_chat " " color -1
  361. chatmsg samp add_message_to_chat " " color -1
  362. chatmsg samp add_message_to_chat " " color -1
  363. chatmsg samp add_message_to_chat " " color -1
  364. chatmsg samp add_message_to_chat " " color -1
  365. chatmsg samp add_message_to_chat " " color -1
  366. chatmsg samp add_message_to_chat " " color -1
  367. chatmsg samp add_message_to_chat " " color -1
  368. chatmsg samp add_message_to_chat " " color -1
  369. chatmsg samp add_message_to_chat " " color -1
  370. chatmsg samp add_message_to_chat " " color -1
  371. chatmsg samp add_message_to_chat " " color -1
  372. chatmsg samp add_message_to_chat " " color -1
  373. chatmsg samp add_message_to_chat " " color -1
  374. chatmsg samp add_message_to_chat " " color -1
  375. chatmsg samp add_message_to_chat " " color -1
  376. chatmsg samp add_message_to_chat " " color -1
  377. chatmsg samp add_message_to_chat " " color -1
  378. chatmsg samp add_message_to_chat " " color -1
  379. chatmsg samp add_message_to_chat " " color -1
  380. chatmsg samp add_message_to_chat " " color -1
  381. chatmsg samp add_message_to_chat " " color -1
  382. chatmsg samp add_message_to_chat " " color -1
  383. chatmsg samp add_message_to_chat " " color -1
  384. chatmsg samp add_message_to_chat " " color -1
  385. chatmsg samp add_message_to_chat " " color -1
  386. chatmsg samp add_message_to_chat " " color -1
  387. chatmsg samp add_message_to_chat " " color -1
  388. chatmsg samp add_message_to_chat " " color -1
  389. chatmsg samp add_message_to_chat " " color -1
  390. chatmsg samp add_message_to_chat " " color -1
  391. chatmsg samp add_message_to_chat " " color -1
  392. chatmsg samp add_message_to_chat " " color -1
  393. chatmsg samp add_message_to_chat " " color -1
  394. chatmsg samp add_message_to_chat " " color -1
  395. chatmsg samp add_message_to_chat " " color -1
  396. chatmsg samp add_message_to_chat " " color -1
  397. chatmsg samp add_message_to_chat " " color -1
  398. chatmsg samp add_message_to_chat " " color -1
  399. chatmsg samp add_message_to_chat " " color -1
  400. chatmsg samp add_message_to_chat " " color -1
  401. chatmsg samp add_message_to_chat " " color -1
  402. chatmsg samp add_message_to_chat " " color -1
  403. chatmsg samp add_message_to_chat " " color -1
  404. chatmsg samp add_message_to_chat " " color -1
  405. chatmsg samp add_message_to_chat " " color -1
  406. chatmsg samp add_message_to_chat " " color -1
  407. chatmsg samp add_message_to_chat " " color -1
  408. chatmsg samp add_message_to_chat " " color -1
  409. chatmsg samp add_message_to_chat " " color -1
  410. chatmsg samp add_message_to_chat " " color -1
  411. chatmsg samp add_message_to_chat " " color -1
  412. chatmsg samp add_message_to_chat " " color -1
  413. chatmsg samp add_message_to_chat " " color -1
  414. chatmsg samp add_message_to_chat " " color -1
  415. chatmsg samp add_message_to_chat " " color -1
  416. chatmsg samp add_message_to_chat " " color -1
  417. chatmsg samp add_message_to_chat " " color -1
  418. chatmsg samp add_message_to_chat " " color -1
  419. chatmsg samp add_message_to_chat " " color -1
  420. chatmsg samp add_message_to_chat " " color -1
  421. chatmsg samp add_message_to_chat " " color -1
  422. chatmsg samp add_message_to_chat " " color -1
  423. chatmsg samp add_message_to_chat " " color -1
  424. chatmsg samp add_message_to_chat " " color -1
  425. chatmsg samp add_message_to_chat " " color -1
  426. chatmsg samp add_message_to_chat " " color -1
  427. chatmsg samp add_message_to_chat " " color -1
  428. chatmsg samp add_message_to_chat " " color -1
  429. chatmsg samp add_message_to_chat " " color -1
  430. chatmsg samp add_message_to_chat " " color -1
  431. chatmsg samp add_message_to_chat " " color -1
  432. chatmsg samp add_message_to_chat " " color -1
  433. chatmsg samp add_message_to_chat " " color -1
  434. chatmsg samp add_message_to_chat " " color -1
  435. chatmsg samp add_message_to_chat " " color -1
  436. chatmsg samp add_message_to_chat " " color -1
  437. chatmsg samp add_message_to_chat " " color -1
  438. chatmsg samp add_message_to_chat " " color -1
  439. chatmsg samp add_message_to_chat " " color -1
  440. chatmsg samp add_message_to_chat " " color -1
  441. chatmsg samp add_message_to_chat " " color -1
  442. chatmsg samp add_message_to_chat " " color -1
  443. chatmsg samp add_message_to_chat " " color -1
  444. chatmsg samp add_message_to_chat " " color -1
  445. chatmsg samp add_message_to_chat " " color -1
  446. chatmsg samp add_message_to_chat " " color -1
  447. chatmsg samp add_message_to_chat " " color -1
  448. chatmsg samp add_message_to_chat " " color -1
  449. chatmsg samp add_message_to_chat " " color -1
  450. chatmsg samp add_message_to_chat " " color -1
  451. chatmsg samp add_message_to_chat " " color -1
  452. chatmsg samp add_message_to_chat " " color -1
  453. chatmsg samp add_message_to_chat " " color -1
  454. chatmsg samp add_message_to_chat " " color -1
  455. chatmsg samp add_message_to_chat " " color -1
  456. chatmsg samp add_message_to_chat " " color -1
  457. chatmsg samp add_message_to_chat " " color -1
  458. chatmsg samp add_message_to_chat " " color -1
  459. chatmsg samp add_message_to_chat " " color -1
  460. chatmsg samp add_message_to_chat " " color -1
  461. chatmsg samp add_message_to_chat " " color -1
  462. chatmsg samp add_message_to_chat " " color -1
  463. chatmsg samp add_message_to_chat " " color -1
  464. chatmsg samp add_message_to_chat " " color -1
  465. chatmsg samp add_message_to_chat " " color -1
  466. chatmsg samp add_message_to_chat " " color -1
  467. chatmsg samp add_message_to_chat " " color -1
  468. chatmsg samp add_message_to_chat " " color -1
  469. chatmsg samp add_message_to_chat " " color -1
  470. chatmsg samp add_message_to_chat " " color -1
  471. chatmsg samp add_message_to_chat " " color -1
  472. chatmsg samp add_message_to_chat " " color -1
  473. chatmsg samp add_message_to_chat " " color -1
  474. chatmsg samp add_message_to_chat " " color -1
  475. chatmsg samp add_message_to_chat " " color -1
  476. chatmsg samp add_message_to_chat " " color -1
  477. chatmsg samp add_message_to_chat " " color -1
  478. chatmsg samp add_message_to_chat " " color -1
  479. chatmsg samp add_message_to_chat " " color -1
  480. chatmsg samp add_message_to_chat " " color -1
  481. chatmsg samp add_message_to_chat " " color -1
  482. chatmsg samp add_message_to_chat " " color -1
  483. chatmsg samp add_message_to_chat " " color -1
  484. chatmsg samp add_message_to_chat " " color -1
  485. chatmsg samp add_message_to_chat " " color -1
  486. chatmsg samp add_message_to_chat " " color -1
  487. chatmsg samp add_message_to_chat " " color -1
  488. chatmsg samp add_message_to_chat " " color -1
  489. chatmsg samp add_message_to_chat " " color -1
  490. chatmsg samp add_message_to_chat " " color -1
  491. chatmsg samp add_message_to_chat " " color -1
  492. chatmsg samp add_message_to_chat " " color -1
  493. chatmsg samp add_message_to_chat " " color -1
  494. chatmsg samp add_message_to_chat " " color -1
  495. chatmsg samp add_message_to_chat " " color -1
  496. chatmsg samp add_message_to_chat " " color -1
  497. chatmsg samp add_message_to_chat " " color -1
  498. chatmsg samp add_message_to_chat " " color -1
  499. chatmsg samp add_message_to_chat " " color -1
  500. chatmsg samp add_message_to_chat " " color -1
  501. chatmsg samp add_message_to_chat " " color -1
  502. chatmsg samp add_message_to_chat " " color -1
  503. chatmsg samp add_message_to_chat " " color -1
  504. chatmsg samp add_message_to_chat " " color -1
  505. chatmsg samp add_message_to_chat " " color -1
  506. chatmsg samp add_message_to_chat " " color -1
  507. chatmsg samp add_message_to_chat " " color -1
  508. chatmsg samp add_message_to_chat " " color -1
  509. chatmsg samp add_message_to_chat " " color -1
  510. chatmsg samp add_message_to_chat " " color -1
  511. chatmsg samp add_message_to_chat " " color -1
  512. chatmsg samp add_message_to_chat " " color -1
  513. chatmsg samp add_message_to_chat " " color -1
  514. chatmsg samp add_message_to_chat " " color -1
  515. chatmsg samp add_message_to_chat " " color -1
  516. chatmsg samp add_message_to_chat " " color -1
  517. chatmsg samp add_message_to_chat " " color -1
  518. chatmsg samp add_message_to_chat " " color -1
  519. chatmsg samp add_message_to_chat " " color -1
  520. chatmsg samp add_message_to_chat " " color -1
  521. chatmsg samp add_message_to_chat " " color -1
  522. chatmsg samp add_message_to_chat " " color -1
  523. chatmsg samp add_message_to_chat " " color -1
  524. chatmsg samp add_message_to_chat " " color -1
  525. chatmsg samp add_message_to_chat " " color -1
  526. chatmsg samp add_message_to_chat " " color -1
  527. chatmsg samp add_message_to_chat " " color -1
  528. chatmsg samp add_message_to_chat " " color -1
  529. chatmsg samp add_message_to_chat " " color -1
  530. chatmsg samp add_message_to_chat " " color -1
  531. chatmsg samp add_message_to_chat " " color -1
  532. chatmsg samp add_message_to_chat " " color -1
  533. chatmsg samp add_message_to_chat " " color -1
  534. chatmsg samp add_message_to_chat " " color -1
  535. chatmsg samp add_message_to_chat " " color -1
  536. chatmsg samp add_message_to_chat " " color -1
  537. chatmsg samp add_message_to_chat " " color -1
  538. chatmsg samp add_message_to_chat " " color -1
  539. chatmsg samp add_message_to_chat " " color -1
  540. chatmsg samp add_message_to_chat " " color -1
  541. chatmsg samp add_message_to_chat " " color -1
  542. chatmsg samp add_message_to_chat " " color -1
  543. chatmsg samp add_message_to_chat " " color -1
  544. chatmsg samp add_message_to_chat " " color -1
  545. chatmsg samp add_message_to_chat " " color -1
  546. chatmsg samp add_message_to_chat " " color -1
  547. chatmsg samp add_message_to_chat " " color -1
  548. chatmsg samp add_message_to_chat " " color -1
  549. chatmsg samp add_message_to_chat " " color -1
  550. chatmsg samp add_message_to_chat " " color -1
  551. chatmsg samp add_message_to_chat " " color -1
  552. chatmsg samp add_message_to_chat " " color -1
  553. chatmsg samp add_message_to_chat " " color -1
  554. chatmsg samp add_message_to_chat " " color -1
  555. chatmsg samp add_message_to_chat " " color -1
  556. chatmsg samp add_message_to_chat " " color -1
  557. chatmsg samp add_message_to_chat " " color -1
  558. chatmsg samp add_message_to_chat " " color -1
  559. chatmsg samp add_message_to_chat " " color -1
  560. chatmsg samp add_message_to_chat " " color -1
  561. chatmsg samp add_message_to_chat " " color -1
  562. chatmsg samp add_message_to_chat " " color -1
  563. chatmsg samp add_message_to_chat " " color -1
  564. chatmsg samp add_message_to_chat " " color -1
  565. chatmsg samp add_message_to_chat " " color -1
  566. chatmsg samp add_message_to_chat " " color -1
  567. chatmsg samp add_message_to_chat " " color -1
  568. chatmsg samp add_message_to_chat " " color -1
  569. chatmsg samp add_message_to_chat " " color -1
  570. chatmsg samp add_message_to_chat " " color -1
  571. chatmsg samp add_message_to_chat " " color -1
  572. chatmsg samp add_message_to_chat " " color -1
  573. chatmsg samp add_message_to_chat " " color -1
  574. chatmsg samp add_message_to_chat " " color -1
  575. chatmsg samp add_message_to_chat " " color -1
  576. chatmsg samp add_message_to_chat " " color -1
  577. chatmsg samp add_message_to_chat " " color -1
  578. chatmsg samp add_message_to_chat " " color -1
  579. chatmsg samp add_message_to_chat " " color -1
  580. chatmsg samp add_message_to_chat " " color -1
  581. chatmsg samp add_message_to_chat " " color -1
  582. chatmsg samp add_message_to_chat " " color -1
  583. chatmsg samp add_message_to_chat " " color -1
  584. chatmsg samp add_message_to_chat " " color -1
  585. chatmsg samp add_message_to_chat " " color -1
  586. chatmsg samp add_message_to_chat " " color -1
  587. chatmsg samp add_message_to_chat " " color -1
  588. chatmsg samp add_message_to_chat " " color -1
  589. chatmsg samp add_message_to_chat " " color -1
  590. chatmsg samp add_message_to_chat " " color -1
  591. chatmsg samp add_message_to_chat " " color -1
  592. chatmsg samp add_message_to_chat " " color -1
  593. chatmsg samp add_message_to_chat " " color -1
  594. chatmsg samp add_message_to_chat " " color -1
  595. chatmsg samp add_message_to_chat " " color -1
  596. chatmsg samp add_message_to_chat " " color -1
  597. chatmsg samp add_message_to_chat " " color -1
  598. chatmsg samp add_message_to_chat " " color -1
  599. chatmsg samp add_message_to_chat " " color -1
  600. chatmsg samp add_message_to_chat " " color -1
  601. chatmsg samp add_message_to_chat " " color -1
  602. chatmsg samp add_message_to_chat " " color -1
  603. chatmsg samp add_message_to_chat " " color -1
  604. chatmsg samp add_message_to_chat " " color -1
  605. chatmsg samp add_message_to_chat " " color -1
  606. chatmsg samp add_message_to_chat " " color -1
  607. chatmsg samp add_message_to_chat " " color -1
  608. chatmsg samp add_message_to_chat " " color -1
  609. chatmsg samp add_message_to_chat " " color -1
  610. chatmsg samp add_message_to_chat " " color -1
  611. chatmsg samp add_message_to_chat " " color -1
  612. chatmsg samp add_message_to_chat " " color -1
  613. chatmsg samp add_message_to_chat " " color -1
  614. chatmsg samp add_message_to_chat " " color -1
  615. chatmsg samp add_message_to_chat " " color -1
  616. chatmsg samp add_message_to_chat " " color -1
  617. chatmsg samp add_message_to_chat " " color -1
  618. chatmsg samp add_message_to_chat " " color -1
  619. chatmsg samp add_message_to_chat " " color -1
  620. chatmsg samp add_message_to_chat " " color -1
  621. chatmsg samp add_message_to_chat " " color -1
  622. chatmsg samp add_message_to_chat " " color -1
  623. chatmsg samp add_message_to_chat " " color -1
  624. chatmsg samp add_message_to_chat " " color -1
  625. chatmsg samp add_message_to_chat " " color -1
  626. chatmsg samp add_message_to_chat " " color -1
  627. chatmsg samp add_message_to_chat " " color -1
  628. chatmsg samp add_message_to_chat " " color -1
  629. chatmsg samp add_message_to_chat " " color -1
  630. chatmsg samp add_message_to_chat " " color -1
  631. chatmsg samp add_message_to_chat " " color -1
  632. chatmsg samp add_message_to_chat " " color -1
  633. chatmsg samp add_message_to_chat " " color -1
  634. chatmsg samp add_message_to_chat " " color -1
  635. chatmsg samp add_message_to_chat " " color -1
  636. chatmsg samp add_message_to_chat " " color -1
  637. chatmsg samp add_message_to_chat " " color -1
  638. chatmsg samp add_message_to_chat " " color -1
  639. chatmsg samp add_message_to_chat " " color -1
  640. chatmsg samp add_message_to_chat " " color -1
  641. chatmsg samp add_message_to_chat " " color -1
  642. chatmsg samp add_message_to_chat " " color -1
  643. chatmsg samp add_message_to_chat " " color -1
  644. chatmsg samp add_message_to_chat " " color -1
  645. SAMP.CmdRet
  646.  
  647. :taxi_wr
  648. SAMP.IsCommandTyped(20@)
  649. if
  650. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  651. then
  652. 0B36: samp 1@ = get_player_nickname 21@
  653. 0AF9: samp say_msg "Salut, %s, unde doresti sã ajungi?" 1@
  654. else
  655. 0AF9: samp say_msg "Salut, unde doresti sã ajungi?"
  656. end
  657. 0B43: samp cmd_ret
  658.  
  659. :taxi_ewr
  660. SAMP.IsCommandTyped(20@)
  661. if
  662. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  663. then
  664. 0B36: samp 1@ = get_player_nickname 21@
  665. 0AF9: samp say_msg "Hello, %s, where do you wanna go?" 1@
  666. else
  667. 0AF9: samp say_msg "Hello, where do you wanna go?"
  668. end
  669. 0B43: samp cmd_ret
  670.  
  671. :taxi_fm
  672. 0AF9: samp say_msg "/cw Nu ezita sã îmi spui dacã doresti un post de radio anume."
  673. 0B43: samp cmd_ret
  674.  
  675. :taxi_efm
  676. 0AF9: samp say_msg "/cw Please let me know if you'd like to listen to a certain radio station."
  677. 0B43: samp cmd_ret
  678.  
  679. :taxi_liber
  680. 0AF9: samp say_msg "/s Taxi liber aici, pentru cine are nevoie"
  681. 0B43: samp cmd_ret
  682.  
  683. :taxi_eliber
  684. 0AF9: samp say_msg "/s Taxi available here, for who needs a ride"
  685. 0B43: samp cmd_ret
  686.  
  687. :taxi_rp
  688. 0AF9: samp say_msg "/cw Te rog sã îmi oferi un ID de biz sau de casã, ori sã îmi indici unde doresti sã"
  689. 0AF9: samp say_msg "/cw ajungi mergând pe hartã (ESC > MAP), unde poti marcha locatia cu click dreapta."
  690. 0B43: samp cmd_ret
  691.  
  692. :taxi_erp
  693. 0AF9: samp say_msg "/cw Please give me a house or a biz ID, or you can show me where you'd like to go"
  694. 0AF9: samp say_msg "/cw by going to your map (ESC > MAP), and right clicking your location there."
  695. 0B43: samp cmd_ret
  696.  
  697. :taxi_rp2
  698. 0AF9: samp say_msg "/cw Dacã nu îmi vei oferi un ID de casã ori de biz, sau dacã nu vei marca locatia"
  699. 0AF9: samp say_msg "/cw doritã pe hartã, risti [/eject]."
  700. 0B43: samp cmd_ret
  701.  
  702. :taxi_erp2
  703. 0AF9: samp say_msg "/cw If you won't give me a house or a biz ID, or if you won't show me where you'd"
  704. 0AF9: samp say_msg "/cw like to go on your map as instructed, you may be ejected from the taxi."
  705. 0B43: samp cmd_ret
  706.  
  707. :taxi_thx
  708. SAMP.IsCommandTyped(20@)
  709. if
  710. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  711. then
  712. 0B36: samp 1@ = get_player_nickname 21@
  713. 0AF9: samp say_msg "Am ajuns la destinatie, %s." 1@
  714. 0AF9: samp say_msg "Îti multumim cã ai ales sã chemi un taxi pentru a ajunge la destinatia doritã!"
  715. else
  716. 0AF9: samp say_msg "Am ajuns la destinatie."
  717. 0AF9: samp say_msg "Îti multumim cã ai ales sã chemi un taxi pentru a ajunge la destinatia doritã!"
  718. end
  719. 0B43: samp cmd_ret
  720.  
  721. :taxi_ethx
  722. SAMP.IsCommandTyped(20@)
  723. if
  724. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  725. then
  726. 0B36: samp 1@ = get_player_nickname 21@
  727. 0AF9: samp say_msg "We arrived at the destination, %s." 1@
  728. 0AF9: samp say_msg "Thank you for choosing to call for a taxi to get to your destination!"
  729. else
  730. 0AF9: samp say_msg "We arrived at the destination."
  731. 0AF9: samp say_msg "Thank you for choosing to call for a taxi to get to your destination!"
  732. end
  733. 0B43: samp cmd_ret
  734.  
  735. :taxi_tls
  736. SAMP.IsCommandTyped(20@)
  737. if
  738. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  739. then
  740. 0B36: samp 1@ = get_player_nickname 21@
  741. 0AF9: samp say_msg "Am ajuns la destinatie, %s." 1@
  742. 0AF9: samp say_msg "Îti multumim cã ai folosit serviciile Companiei Los Santos Taxi!"
  743. else
  744. 0AF9: samp say_msg "Am ajuns la destinatie."
  745. 0AF9: samp say_msg "Îti multumim cã ai folosit serviciile Companiei Los Santos Taxi!"
  746. end
  747. 0B43: samp cmd_ret
  748.  
  749. :taxi_etls
  750. SAMP.IsCommandTyped(20@)
  751. if
  752. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  753. then
  754. 0B36: samp 1@ = get_player_nickname 21@
  755. 0AF9: samp say_msg "We arrived at the destination, %s." 1@
  756. 0AF9: samp say_msg "Thank you for using the Los Santos Taxi Company's services!"
  757. else
  758. 0AF9: samp say_msg "We arrived at the destination."
  759. 0AF9: samp say_msg "Thank you for using the Los Santos Taxi Company's services!"
  760. end
  761. 0B43: samp cmd_ret
  762.  
  763. :taxi_tlv
  764. SAMP.IsCommandTyped(20@)
  765. if
  766. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  767. then
  768. 0B36: samp 1@ = get_player_nickname 21@
  769. 0AF9: samp say_msg "Am ajuns la destinatie, %s." 1@
  770. 0AF9: samp say_msg "Îti multumim cã ai folosit serviciile Companiei Las Venturas Taxi!"
  771. else
  772. 0AF9: samp say_msg "Am ajuns la destinatie."
  773. 0AF9: samp say_msg "Îti multumim cã ai folosit serviciile Companiei Las Venturas Taxi!"
  774. end
  775. 0B43: samp cmd_ret
  776.  
  777. :taxi_etlv
  778. SAMP.IsCommandTyped(20@)
  779. if
  780. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  781. then
  782. 0B36: samp 1@ = get_player_nickname 21@
  783. 0AF9: samp say_msg "We arrived at the destination, %s." 1@
  784. 0AF9: samp say_msg "Thank you for using the Las Venturas Taxi Company's services!"
  785. else
  786. 0AF9: samp say_msg "We arrived at the destination."
  787. 0AF9: samp say_msg "Thank you for using the Las Venturas Taxi Company's services!"
  788. end
  789. 0B43: samp cmd_ret
  790.  
  791. :taxi_tsf
  792. SAMP.IsCommandTyped(20@)
  793. if
  794. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  795. then
  796. 0B36: samp 1@ = get_player_nickname 21@
  797. 0AF9: samp say_msg "Am ajuns la destinatie, %s." 1@
  798. 0AF9: samp say_msg "Îti multumim cã ai folosit serviciile Companiei San Fierro Taxi!"
  799. else
  800. 0AF9: samp say_msg "Am ajuns la destinatie."
  801. 0AF9: samp say_msg "Îti multumim cã ai folosit serviciile Companiei San Fierro Taxi!"
  802. end
  803. 0B43: samp cmd_ret
  804.  
  805. :taxi_etsf
  806. SAMP.IsCommandTyped(20@)
  807. if
  808. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  809. then
  810. 0B36: samp 1@ = get_player_nickname 21@
  811. 0AF9: samp say_msg "We arrived at the destination, %s." 1@
  812. 0AF9: samp say_msg "Thank you for using the San Fierro Taxi Company's services!"
  813. else
  814. 0AF9: samp say_msg "We arrived at the destination."
  815. 0AF9: samp say_msg "Thank you for using the San Fierro Taxi Company's services!"
  816. end
  817. 0B43: samp cmd_ret
  818.  
  819. :taxi_posthunt
  820. SAMP.IsCommandTyped(20@)
  821. if
  822. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  823. then
  824. 0B36: samp 1@ = get_player_nickname 21@
  825. 0AF9: samp say_msg "/tx Aveti grijã la %s, ar putea fi post-hunter!" 1@
  826. else
  827. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/ph <id>] to report someone on [/tx] as a possible post-hunter." -1
  828. end
  829. 0B43: samp cmd_ret
  830.  
  831. :taxi_afk
  832. SAMP.IsCommandTyped(20@)
  833. if
  834. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  835. then
  836. 0B36: samp 1@ = get_player_nickname 21@
  837. 0AF9: samp say_msg "Am ajuns la destinatie, %s." 1@
  838. 0AF9: samp say_msg "Deoarece esti AFK, va trebui sã îti dau [/eject]."
  839. 0AF9: samp say_msg "/eject %d" 21@
  840. else
  841. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/afk <id>] to [/eject] someone at the destination if they are AFK." -1
  842. end
  843. 0B43: samp cmd_ret
  844.  
  845. :taxi_eafk
  846. SAMP.IsCommandTyped(20@)
  847. if
  848. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  849. then
  850. 0B36: samp 1@ = get_player_nickname 21@
  851. 0AF9: samp say_msg "We arrived at the destination, %s." 1@
  852. 0AF9: samp say_msg "Because you are AFK, I'll have to [/eject] you from the car."
  853. 0AF9: samp say_msg "/eject %d" 21@
  854. else
  855. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/eafk <id>] to [/eject] someone at the destination if they are AFK." -1
  856. end
  857. 0B43: samp cmd_ret
  858.  
  859. :taxi_lang
  860. SAMP.IsCommandTyped(20@)
  861. if
  862. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  863. then
  864. 0B36: samp 1@ = get_player_nickname 21@
  865. 0AF9: samp say_msg "Deoarece ai folosit un limbaj vulgar la adresa mea, am dreptul sa îti dau [/eject]."
  866. 0AF9: samp say_msg "Toate cele bune, %s!" 1@
  867. 0AF9: samp say_msg "/eject %d" 21@
  868. else
  869. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/lang <id>] to eject someone because they used vulgar language towards you." -1
  870. end
  871. 0B43: samp cmd_ret
  872.  
  873. :taxi_elang
  874. SAMP.IsCommandTyped(20@)
  875. if
  876. 0AD4: 20@ = scan_string 20@ format "%d" 21@
  877. then
  878. 0B36: samp 1@ = get_player_nickname 21@
  879. 0AF9: samp say_msg "Because you used vulgar language towards me, I have the right to [/eject] you from the car."
  880. 0AF9: samp say_msg "Take care, %s!" 1@
  881. 0AF9: samp say_msg "/eject %d" 21@
  882. else
  883. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} Use [/elang <id>] to eject someone because they used vulgar language towards you." -1
  884. end
  885. 0B43: samp cmd_ret
  886.  
  887. :taxi_sgn
  888. 0AF9: samp say_msg "/s Taxi galben si frumos, ori dai G ori mergi pe jos"
  889. 0B43: samp cmd_ret
  890.  
  891. :taxi_sgn2
  892. 0AF9: samp say_msg "/s Alege serviciile de transport taxi"
  893. 0AF9: samp say_msg "/s Te transportãm în sigurantã oriunde, oricând"
  894. 0B43: samp cmd_ret
  895.  
  896. :taxi_fare20
  897. 0AF9: samp say_msg "/fare 20"
  898. 0B43: samp cmd_ret
  899.  
  900. :taxi_fare1
  901. 0AF9: samp say_msg "/fare 1"
  902. 0B43: samp cmd_ret
  903.  
  904. :taxi_fvr5
  905. if
  906. 10@ > 0
  907. then
  908. 10@ = 0
  909. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} The auto-FVR was cancelled!" -1
  910. 0AF9: samp say_msg " FVR anulat / FVR cancelled!"
  911. else
  912. 10@ = 2
  913. end
  914. 0B43: samp cmd_ret
  915.  
  916. :taxi_fvr10
  917. if
  918. 10@ > 0
  919. then
  920. 10@ = 0
  921. chatmsg "{F1C40F}[TaxiTool]{FFFFFF} The auto-FVR was cancelled!" -1
  922. 0AF9: samp say_msg " FVR anulat / FVR cancelled!"
  923. else
  924. 10@ = 1
  925. end
  926. 0B43: samp cmd_ret
  927.  
  928. // Pentru ora server
  929.  
  930. :IsSampTextDrawExist
  931. {
  932. 0.3.7 - R1
  933. 0AB1: @IsSampTextDrawExist 1 TextDrawID 0@
  934. }
  935. 0AA2: 1@ = load_library "samp.dll"
  936. 1@ += 0x21A0F8 // SAMP_INFO_OFFSET
  937. 0A8D: 1@ readMem 1@ sz 4 vp 0
  938. 1@ += 0x3CD // SAMP_PPOOLS_OFFSET
  939. 0A8D: 1@ readMem 1@ sz 4 vp 0
  940. 1@ += 0x10 // SAMP_PPOOL_TEXTDRAW_OFFSET
  941. 0A8D: 1@ readMem 1@ sz 4 vp 0
  942. 0@ *= 0x4 // TEXTDRAW_ID * 4
  943. 005A: 1@ += 0@
  944. 0A8D: 2@ readMem 1@ sz 4 vp 0
  945. IF 2@ == TRUE
  946. THEN 0485: return_true
  947. ELSE 059A: return_false
  948. END
  949. 0AB2: 0
  950.  
  951.  
  952. :GetTextDrawText
  953. {
  954. 0.3.7 - R1
  955. 0AB1: @GetTextDrawText 1 TextDrawID 0@ _Returned: Text 1@
  956. }
  957. 0AA2: 1@ = load_library "samp.dll"
  958. 1@ += 0x21A0F8 // SAMP_INFO_OFFSET
  959. 0A8D: 1@ readMem 1@ sz 4 vp 0
  960. 1@ += 0x3CD // SAMP_PPOOLS_OFFSET
  961. 0A8D: 1@ readMem 1@ sz 4 vp 0
  962. 1@ += 0x10 // SAMP_PPOOL_TEXTDRAW_OFFSET
  963. 0A8D: 1@ readMem 1@ sz 4 vp 0
  964. 0@ *= 0x4 // TEXTDRAW_ID * 4
  965. 005A: 1@ += 0@
  966. 0A8D: 2@ readMem 1@ sz 4 vp 0
  967. IF 2@ == TRUE
  968. THEN
  969. 0485: return_true
  970. 1@ += 0x2400 // SAMP_TEXTDRAW_STRUCT_OFFSET
  971. 0A8D: 1@ readMem 1@ sz 4 vp 0
  972. 1@ += 0x0 // SAMP_TEXTDRAW_TEXT_OFFSET
  973. 0AB2: 1 1@
  974. ELSE 059A: return_false
  975. END
  976. 0AB2: 0
  977.  
  978. ret 0
  979.  
Add Comment
Please, Sign In to add comment