Guest User

Untitled

a guest
Jun 9th, 2024
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | Gaming | 0 0
  1. {$CLEO}
  2.  
  3. 0662: "Comenzi Scurte by EzeQ "
  4. thread "Comenzi Scurte by EzeQ "
  5. wait 2500
  6. // Registering client commands
  7. 0B34: samp register_client_command "cs" to_label @cmd_cs
  8. 0B34: samp register_client_command "off" to_label @cmd_off
  9. 0B34: samp register_client_command "on" to_label @cmd_on
  10. 0B34: samp register_client_command "gj" to_label @cmd_gj
  11. 0B34: samp register_client_command "en" to_label @cmd_en
  12. 0B34: samp register_client_command "j" to_label @cmd_j
  13. 0B34: samp register_client_command "k" to_label @cmd_k
  14. 0B34: samp register_client_command "sc" to_label @cmd_sc
  15. 0B34: samp register_client_command "gk" to_label @cmd_gk
  16. 0B34: samp register_client_command "fill" to_label @cmd_fill
  17. 0B34: samp register_client_command "rrf1" to_label @cmd_rrf1
  18. 0B34: samp register_client_command "rr" to_label @cmd_rr
  19. 0B34: samp register_client_command "lm" to_label @cmd_lm
  20. 0B34: samp register_client_command "lp" to_label @cmd_lp
  21. 0B34: samp register_client_command "gg" to_label @cmd_gg
  22.  
  23. :cmd_cs
  24. 0B2A: samp get_last_command_params 0@ 1@
  25. 0AF9: samp say_msg "{FF9900}>-------------------------------{FFFFFF}[ Comenzi Scurte ]{FF9900}-------------------------------<"
  26. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/off {FFFFFF}=> /turn off"
  27. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/on {FFFFFF}=> /turn on"
  28. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/gj {FFFFFF}=> /getjob"
  29. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/en {FFFFFF}=> /engine"
  30. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/j {FFFFFF}=> /jobs"
  31. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/k {FFFFFF}=> /killcp"
  32. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/sc {FFFFFF}=> /spawnchange"
  33. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/gk {FFFFFF}=> /givekey <id>"
  34. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/fill {FFFFFF}=> /fill+/fillgascan"
  35. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/rrf1 {FFFFFF}=> /repair+/refill jucatorilor pentru 1$"
  36. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/rr {FFFFFF}=> /repair+/refill"
  37. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/lm {FFFFFF}=> /leavemission"
  38. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/lp {FFFFFF}=> /leavepaintball"
  39. 0AF9: samp say_msg "{FFFFFF}*{33FF00}/gg {FFFFFF}=> /getgift"
  40. 0AF9: samp say_msg "{FF9900}>-------------------------------------------------------------------------<"
  41. SAMP.CmdRet()
  42.  
  43. :cmd_off
  44. 0B2A: samp get_last_command_params 0@ 1@
  45. 0AF9: samp say_msg "/turn off"
  46. SAMP.CmdRet()
  47.  
  48. :cmd_on
  49. 0B2A: samp get_last_command_params 0@ 1@
  50. 0AF9: samp say_msg "/turn on"
  51. SAMP.CmdRet()
  52.  
  53. :cmd_gj
  54. 0B2A: samp get_last_command_params 0@ 1@
  55. 0AF9: samp say_msg "/getjob"
  56. SAMP.CmdRet()
  57.  
  58. :cmd_en
  59. 0B2A: samp get_last_command_params 0@ 1@
  60. 0AF9: samp say_msg "/engine"
  61. SAMP.CmdRet()
  62.  
  63. :cmd_j
  64. 0B2A: samp get_last_command_params 0@ 1@
  65. 0AF9: samp say_msg "/jobs"
  66. SAMP.CmdRet()
  67.  
  68. :cmd_k
  69. 0B2A: samp get_last_command_params 0@ 1@
  70. 0AF9: samp say_msg "/killcp"
  71. SAMP.CmdRet()
  72.  
  73. :cmd_sc
  74. 0B2A: samp get_last_command_params 0@ 1@
  75. 0AF9: samp say_msg "/spawnchange"
  76. SAMP.CmdRet()
  77.  
  78. :cmd_gk
  79. 0B2A: samp get_last_command_params 0@ 1@
  80. if
  81. 0AD4: 0@ = scan_string 0@ format "%d" 1@
  82. then
  83. 0B36: samp 2@ = get_player_nickname 1@
  84. 0AF9: samp say_msg "/givekey %s" 2@
  85. else
  86. 0AF9: samp say_msg "~y~/gk <id>" 2000
  87. end
  88. SAMP.CmdRet()
  89.  
  90. :cmd_fill
  91. 0B2A: samp get_last_command_params 0@ 1@
  92. 0AF9: samp say_msg "/fill"
  93. 0AF9: samp say_msg "/fillgascan"
  94. SAMP.CmdRet()
  95.  
  96. :cmd_rrf1
  97. 0B2A: samp get_last_command_params 0@ 1@
  98. if
  99. 0AD4: 0@ = scan_string 0@ format "%d" 1@
  100. then
  101. 0AF9: samp say_msg "/refill %d 1" 1@
  102. 0AF9: samp say_msg "/repair %d 1" 1@
  103. 0AF9: samp say_msg "/refillgascan %d 1" 1@
  104. else
  105. 0AF9: samp say_msg "{ffa85c}Sintaxa: [/rrf1 <id>]."
  106. end
  107. SAMP.CmdRet()
  108.  
  109. :cmd_rr
  110. 0B2A: samp get_last_command_params 0@ 1@
  111. 0AF9: samp say_msg "/repair"
  112. 0AF9: samp say_msg "/refill"
  113. SAMP.CmdRet()
  114.  
  115. :cmd_lm
  116. 0B2A: samp get_last_command_params 0@ 1@
  117. 0AF9: samp say_msg "/leavemission"
  118. SAMP.CmdRet()
  119.  
  120. :cmd_lp
  121. 0B2A: samp get_last_command_params 0@ 1@
  122. 0AF9: samp say_msg "/leavepaintball"
  123. SAMP.CmdRet()
  124.  
  125. :cmd_gg
  126. 0B2A: samp get_last_command_params 0@ 1@
  127. 0AF9: samp say_msg "/getgift"
  128. SAMP.CmdRet()
  129.  
Advertisement
Add Comment
Please, Sign In to add comment