Derrekgamer
Active member
Hello.. is there anyway to make the comand /find doing this :
if command /find id is used
server say : /find id
wait 1000
server say: /mdc id
If someone can do this command work..
im trying weeks and i can t get that deelay to work.. The server has an antispam sistem that is 1seconds so the mod will need to wait 1 seconds before type the other command.. but i cant find how to make the deelay work..
i need this command because im in a police department and i want to use a single command to find and get the mdc to the suspect..
@ajom can you help with this? is easy for you guys..
i tried this but the 1000 delay is not working... maybe someone knows other metod to add a deelay..
if command /find id is used
server say : /find id
wait 1000
server say: /mdc id
If someone can do this command work..
im trying weeks and i can t get that deelay to work.. The server has an antispam sistem that is 1seconds so the mod will need to wait 1 seconds before type the other command.. but i cant find how to make the deelay work..
i need this command because im in a police department and i want to use a single command to find and get the mdc to the suspect..
@ajom can you help with this? is easy for you guys..
Code:
0B34: samp register_client_command "find" to_label @cmd_100
:cmd_100
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0AF9: samp say_msg "/find %d" 21@
wait 1000
0AF9: samp say_msg "/mdc %d" 21@
else
print "~r~/find <id>" 2000
end
i tried this but the 1000 delay is not working... maybe someone knows other metod to add a deelay..
Last edited: