suddenly admin.nut leave working which cmds in admin.nut when i type that cmds says unknow cmds i also add admin.nut in main.nut iadd do file but not works why
:/ why it don't work? do you load admin.nut by dofile( "admin.nut" );?
Probably you messed something wrong with admin.nut file
dofile( "scripts/Admin.nut" );
Do you use onPlayerCommand event two times?
Show us the 1st line of your admin.nut
which is something like
function ..
function AdminCmds( player, command, text )
AdminCmds ADM Why not you use commands of admin onPlayerCommand?
cause i want to keep admin cmds separate and user cmds separate
You are not friendly with admincmds you done some mistake in Your Script Find It
Okay here is a easy trick:-
Open server.cfg file
find sqgamemode in it
change Main.nut to Admin.nut
then it'll tell you the error
Point it and fix it, if u can't post it
try to catch error came
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi61.tinypic.com%2Fegqu85.png&hash=fa8b8a5523960143e01564397016ae413f4309f4)
Will u show us the line?
echo = 301 = local
echo = 276 = local BotID = BotNick.find( FBS_DUAL() );
main = 203 = EchoMessage( "** [" + player.ID + "] " + player.Name + " has left the server." );
Restart your server and try again :P
much times i try and i solve null prob of admin.nut but the main prob is that
Thanks For Giving Reply But I Solve My Prob