https://pastebin.com/EuVz5RJg
Only the first 0AF9: samp say_msg 19@ works, the ones after the wait 20000 don't, any ideas why?
Only the first 0AF9: samp say_msg 19@ works, the ones after the wait 20000 don't, any ideas why?
You can't wait in cmdhttps://pastebin.com/EuVz5RJg
Only the first 0AF9: samp say_msg 19@ works, the ones after the wait 20000 don't, any ideas why?
you are using wrong waiting scripthttps://pastebin.com/EuVz5RJg
Only the first 0AF9: samp say_msg 19@ works, the ones after the wait 20000 don't, any ideas why?
https://pastebin.com/EuVz5RJg
Only the first 0AF9: samp say_msg 19@ works, the ones after the wait 20000 don't, any ideas why?
{$CLEO}
0662: "made by nyhfox"
thread "0.1"
wait 2500
alloc 19@ 301
alloc 17@ 301
alloc 18@ 301
0B34: samp register_client_command "text" to_label @text
0B34: samp register_cleint_command "setvipchat" to_label @setvipchat
0B34: samp register_cleint_command "setlegendchat" to_label @setlegendchat
0B34: samp register_cleint_command "setpremiumchat" to_label @setpremiumchat
:cmd_39
wait 0
jump @cmd_39
:msg2
if 1@==1
then
0AF4: 19@ = read_string_from_ini_file "CLEO\vipchat.ini" section "Vip" key "vipchat"
0AF4: 17@ = read_string_from_ini_file "CLEO\premiumchat.ini" section "Premium" key "premiumchat"
0AF4: 18@ = read_string_from_ini_file "CLEO\legendchat.ini" section "Legend" key "legendchat"
0AF9: samp say_msg 19@
wait 20000
0AF9: samp say_msg 17@
wait 20000
0AF9: samp say_msg 18@
wait 22500
0AF9: samp say_msg 17@
wait 20500
0AF9: samp say_msg 19@
wait 22500
0AF9: samp say_msg 18@
wait 22500
0AF9: samp say_msg 19@
wait 22500
0AF9: samp say_msg 17@
wait 22500
0AF9: samp say_msg 18@
wait 19500
0AF9: samp say_msg 17@
wait 20500
0AF9: samp say_msg 19@
wait 21500
0AF9: samp say_msg 18@
wait 22500
0AF9: samp say_msg 17@
wait 22500
0AF9: samp say_msg 18@
wait 22500
0AF9: samp say_msg 17@
wait 19500
0AF9: samp say_msg 19@
wait 17500
0AF9: samp say_msg 18@
wait 17500
0AF9: samp say_msg 17@
wait 17500
0AF9: samp say_msg 18@
wait 17500
0AF9: samp say_msg 17@
wait 17500
0AF9: samp say_msg 19@
wait 17500
0AF9: samp say_msg 18@
wait 17500
0AF9: samp say_msg 17@
wait 17500
0AF9: samp say_msg 18@
wait 17500
0AF9: samp say_msg 17@
wait 17500
0AF9: samp say_msg 19@
wait 17500
0AF9: samp say_msg 18@
wait 17500
0AF9: samp say_msg 17@
wait 17500
0AF9: samp say_msg 18@
wait 17500
0AF9: samp say_msg 17@
wait 17500
0AF9: samp say_msg 19@
wait 17500
0AF9: samp say_msg 18@
wait 150
end
wait 0
jump @msg2
:text
if or
0AAB: file_exists "CLEO\premiumchat.ini"
0AAB: file_exists "CLEO\vipchat.ini"
0AAB: file_exists "CLEO\legendchat.ini"
then
wait 500
1@ = 1
else
0AF8: samp add_message_to_chat "{BE2350}Leader.ini missing"
end
:setvipchat
if SAMP.IsCommandTyped(20@)
then
0AF5: write_string 20@ to_ini_file "cleo\vipchat.ini" section "Vip" key "vipchat"
chatmsg "Text %s has been saved to vipchat.”" -1 20@
else
chatmsg "SYNTAX : /setvipchat ”new text”" -1
end
SAMP.CmdRet()
:setlegendchat
if SAMP.IsCommandTyped(20@)
then
0AF5: write_string 20@ to_ini_file "cleo\legendchat.ini" section "Legend" key "legendchat"
chatmsg "Text %s has been saved to legendchat.”" -1 20@
else
chatmsg "SYNTAX : /setlegendchat ”new text”" -1
end
SAMP.CmdRet()
:setpremiumchat
if SAMP.IsCommandTyped(20@)
then
0AF5: write_string 20@ to_ini_file "cleo\premiumchat.ini" section "Premium" key "premiumchat"
chatmsg "Text %s has been saved to premiumchat.”" -1 20@
else
chatmsg "SYNTAX : /setpremiumchat ”new text”" -1
end
SAMP.CmdRet()