Script Help

Started by =RK=MarineForce, Apr 27, 2018, 10:52 AM

Previous topic - Next topic

=RK=MarineForce

else if ( ( cmd == "admin" ) || ( cmd == "admins" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else {
local plr, b;
for( local i = 0; i <= GetMaxPlayers(); i++ )
{
plr = FindPlayer( i );
if ( ( plr ) && ( stats[ plr.ID ].Level >= 3 ) )
{
if ( b ) b = b + ", " + plr.Name + " - " + LevelTag( plr ) + ""
else b = plr.Name + " - " + LevelTag( plr ) + ""
}
}
if ( b ) Message( " [#0000FF] Admins Online: " + b + "  " );
else Message( " [#0000FF] No Admins Online." );
Message( " [#FFFF00] Requested By " + player.Name +"" );
}
}

I THINK this cmd is working good!

but if i type /admin serror showing status..

i don't have functions! :'(

Mohamed Boubekri

#1
Quote from: =RK=MarineForce on Apr 27, 2018, 10:52 AMelse if ( ( cmd == "admin" ) || ( cmd == "admins" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else {
local plr, b;
for( local i = 0; i <= GetMaxPlayers(); i++ )
{
plr = FindPlayer( i );
if ( ( plr ) && ( stats[ plr.ID ].Level >= 3 ) )
{
if ( b ) b = b + ", " + plr.Name + " - " + LevelTag( plr ) + ""
else b = plr.Name + " - " + LevelTag( plr ) + ""
}
}
if ( b ) Message( " [#0000FF] Admins Online: " + b + "  " );
else Message( " [#0000FF] No Admins Online." );
Message( " [#FFFF00] Requested By " + player.Name +"" );
}
}

I THINK this cmd is working good!

but if i type /admin serror showing status..

i don't have functions! :'(
you need function LevelTag.
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce

#2
how can i get it? Mohammed.

and this is problem in this

else if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
{
if ( stats[ player.ID ].Level < 1 ) MessagePlayer("[#00FFFF]/ann /drown /kick /warn /unwarn /checkwarn /slap ", player);
if ( stats[ player.ID ].Level < 2 ) MessagePlayer("[#00FFFF]/freeze /unfreeze /heal /armour/setarmour /sethp /disarm /eject ",player);
if ( stats[ player.ID ].Level < 2 ) MessagePlayer("[#00FFFF]/ejectall /ban /unban /clean /banlist ",player);
if ( stats[ player.ID ].Level < 3 ) MessagePlayer("[#00FFFF]/settime /setweather /killed /getcar",player);
if ( stats[ player.ID ].Level < 3 ) MessagePlayer("[#00FFFF]/goto /freezeall /unfreezeall /drownall",player);
if ( stats[ player.ID ].Level < 4 ) MessagePlayer("[#00FFFF]/Setlevel /reward /ejectall /drownall /disarmall ",player);
if ( stats[ player.ID ].Level < 5 ) MessagePlayer("[#00FFFF]/exec /setlevel ",player);
}
}

any problem in this cmd?
if i set my level to 3 and  showing me level 2 cmds admin why?

Mohammed give me here leveltag function plz. :P

Xmair

#3
else if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
{
if ( stats[ player.ID ].Level == 1 ) MessagePlayer("[#00FFFF]/ann /drown /kick /warn /unwarn /checkwarn /slap ", player);
else if ( stats[ player.ID ].Level == 2 ) {
MessagePlayer("[#00FFFF]/freeze /unfreeze /heal /armour/setarmour /sethp /disarm /eject ",player);
MessagePlayer("[#00FFFF]/ejectall /ban /unban /clean /banlist ",player);
}
else if ( stats[ player.ID ].Level == 3 ) {
MessagePlayer("[#00FFFF]/settime /setweather /killed /getcar",player);
MessagePlayer("[#00FFFF]/goto /freezeall /unfreezeall /drownall",player);
}
else if ( stats[ player.ID ].Level == 4 ) MessagePlayer("[#00FFFF]/Setlevel /reward /ejectall /drownall /disarmall ",player);
else if ( stats[ player.ID ].Level == 5 ) MessagePlayer("[#00FFFF]/exec /setlevel ",player);
}
}

/*
- Usage:
- getLevelTag( stats[ player.ID ].Level );
*/
function getLevelTag( intLevel ) {
if( typeof intLevel != "integer" ) throw "Error in function getLevelTag - Parameter one is not an integer. (" + typeof intLevel + ")";
switch( intLevel ) {
case 1:
return "Member";
break;
case 2:
return "Moderator";
break;
case 3:
return "Moderator";
break;
case 4:
return "Administrator";
break;
case 5:
return "Administrator";
break;
case 6:
return "Manager";
break;
case 7:
return "Owner";
break;
default:
return "No rank found, please report to an administrator";
break;
// You can add more;
}
}
This can be done in a lot of better ways, sigh, I'm lazy.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

=RK=MarineForce

#4
Thanks

But this is not working level tag

same to same problem! error

can u give me it + him cmd

i m using this cmd else if ( ( cmd == "admin" ) || ( cmd == "admins" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else {
local plr, b;
for( local i = 0; i <= GetMaxPlayers(); i++ )
{
plr = FindPlayer( i );
if ( ( plr ) && ( stats[ plr.ID ].Level >= 2 ) )
{
if ( b ) b = b + ", " + plr.Name + " - " + LevelTag( plr ) + ""
else b = plr.Name + " - " + LevelTag( plr ) + ""
}
}
if ( b ) Message( " [#0000FF] Admins Online: " + b + "  " );
else Message( " [#0000FF] No Admins Online." );
Message( " [#FFFF00] Requested By " + player.Name +"" );
}
}
 by mohammed

=RK=MarineForce

#5
Quote from: Xmair on Apr 28, 2018, 11:16 AMelse if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
{
if ( stats[ player.ID ].Level == 1 ) MessagePlayer("[#00FFFF]/ann /drown /kick /warn /unwarn /checkwarn /slap ", player);
else if ( stats[ player.ID ].Level == 2 ) {
MessagePlayer("[#00FFFF]/freeze /unfreeze /heal /armour/setarmour /sethp /disarm /eject ",player);
MessagePlayer("[#00FFFF]/ejectall /ban /unban /clean /banlist ",player);
}
else if ( stats[ player.ID ].Level == 3 ) {
MessagePlayer("[#00FFFF]/settime /setweather /killed /getcar",player);
MessagePlayer("[#00FFFF]/goto /freezeall /unfreezeall /drownall",player);
}
else if ( stats[ player.ID ].Level == 4 ) MessagePlayer("[#00FFFF]/Setlevel /reward /ejectall /drownall /disarmall ",player);
else if ( stats[ player.ID ].Level == 5 ) MessagePlayer("[#00FFFF]/exec /setlevel ",player);
}
}




This Problem :...

i can do it  bro ==...

same to same  this code ' <> == '

if my level 5 i type /acmds its showing me only level 5 cmds why not showing me all admin commands?

Mohamed Boubekri

else if ( ( cmd == "admin" ) || ( cmd == "admins" ) )
{
if( stats[ player.ID ].Log == false && stats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else {
local plr, b;
for( local i = 0; i <= GetMaxPlayers(); i++ )
{
plr = FindPlayer( i );
if ( ( plr ) && ( stats[ plr.ID ].Level >= 3 ) )
{
if ( b ) b = b + ", " + plr.Name + " - " + LevelTag( plr ) + ""
else b = plr.Name + " - " + LevelTag( plr ) + ""
}
}
if ( b ) Message( " Admins Online: " + b + "  " );
else Message( "No Admins Online." );
Message( " Requested By " + player.Name +"" );
}
}
Now Add The Function:-
function LevelTag( player )
{
local lvl = stats[ player.ID ].Level;
if ( lvl == 0 ) return "Visitante";
else if ( lvl == 1 ) return "Member";
else if ( lvl == 2 ) return "VIP";
else if ( lvl == 3 ) return "Admin";
else if ( lvl == 4 ) return "Admin";
else if ( lvl == 5 ) return "Full-Admin";
else if ( lvl == 6 ) return "Moderator";
else if ( lvl == 7 ) return "Administrator";
else if ( lvl == 8 ) return "Head-Admin";
else if ( lvl == 9 ) return "Manager";
else if ( lvl >= 10 ) return "Devolpper";
}
Hope! That will Work.
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce


=RK=MarineForce

Function getleveltag and function leveltag ya its problem in level tag Thanks .. Did u solve my acmd problem BRO?

Mohamed Boubekri

Quote from: =RK=MarineForce on Apr 29, 2018, 09:29 AMFunction getleveltag and function leveltag ya its problem in level tag Thanks .. Did u solve my acmd problem BRO?
check your Pm!
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce

#10
Your acmds is bad bro

else if ( cmd == "acmds" )
{
if( stats[ player.ID ].Log == false && stats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
else if ( stats[ player.ID ].Level < 2 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
/// Admin cmds
else if ( stats[ player.ID ].Level < 3 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 3 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 3 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
///Head-Admin cmds
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
/// Manager Cmds
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );
/// Dev cmds
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
else if ( stats[ player.ID ].Level < 7 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
else MessagePlayer( "You Are Not Authorized To use This Command", player );
}
i make it in 1 hour.. :.. if my level 5 i type /acmds its show me only 1 message  who's in first line

any problem in this cmd? now



Mohamed Boubekri

Quote from: =RK=MarineForce on Apr 29, 2018, 10:51 AMYour acmds is bad bro

else if ( cmd == "acmds" )
{
if( stats[ player.ID ].Log == false && stats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
else if ( stats[ player.ID ].Level < 2 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
/// Admin cmds
else if ( stats[ player.ID ].Level < 3 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 3 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 3 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
///Head-Admin cmds
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
/// Manager Cmds
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
else if ( stats[ player.ID ].Level < 5 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );
/// Dev cmds
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );
else if ( stats[ player.ID ].Level < 6 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
else if ( stats[ player.ID ].Level < 7 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
else MessagePlayer( "You Are Not Authorized To use This Command", player );
}
i make it in 1 hour.. :.. if my level 5 i type /acmds its show me only 1 message  who's in first line
But it's work for my server mean.
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce

#12
any problem in this cmd ?

else if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
{
if ( stats[ player.ID ].Level = 2 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );

if ( stats[ player.ID ].Level = 3 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );


if ( stats[ player.ID ].Level = 4 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );


if ( stats[ player.ID ].Level = 5 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );


if ( stats[ player.ID ].Level = 6 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
}
}

more bugs

Mohamed Boubekri

Quote from: =RK=MarineForce on Apr 29, 2018, 11:03 AMany problem in this cmd ?

else if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
{
if ( stats[ player.ID ].Level = 2 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );

if ( stats[ player.ID ].Level = 3 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );


if ( stats[ player.ID ].Level = 4 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );


if ( stats[ player.ID ].Level = 5 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );


if ( stats[ player.ID ].Level = 6 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
}
}

more bugs
else if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
{
if ( stats[ player.ID ].Level == 2 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );

if ( stats[ player.ID ].Level == 3 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );


if ( stats[ player.ID ].Level == 4 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );


if ( stats[ player.ID ].Level == 5 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );


if ( stats[ player.ID ].Level == 6 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
}
}
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce

now

else if ( ( cmd == "acmds" ) || ( cmd == "admincmds" ) )
{
if( stats[ player.ID ].Log == false && pstats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level == 1 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
{
if ( stats[ player.ID ].Level == 2 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
if ( stats[ player.ID ].Level == 3 ) MessagePlayer( " [#0000ff]/ban /unban  /disarm /eject /setmoney", player );
if ( stats[ player.ID ].Level == 3 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
if ( stats[ player.ID ].Level == 3 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
if ( stats[ player.ID ].Level == 4 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
if ( stats[ player.ID ].Level == 4 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
if ( stats[ player.ID ].Level == 4 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
if ( stats[ player.ID ].Level == 4 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
if ( stats[ player.ID ].Level == 5 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
if ( stats[ player.ID ].Level == 5 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
if ( stats[ player.ID ].Level == 5 ) MessagePlayer( " [#0000ff]  /ban /unban  /disarm /eject /setmoney", player );
if ( stats[ player.ID ].Level == 5 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
if ( stats[ player.ID ].Level == 5 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );
if ( stats[ player.ID ].Level == 6 ) MessagePlayer( " [#0000ff]/ann /drown /kick /warn /unwarn /checkwarn /slap /mute /unmute  ", player );
if ( stats[ player.ID ].Level == 6 ) MessagePlayer( " [#0000ff]/goto /getcar /killed /freeze /unfreeze /heal /armour /setarmour /setheal /sethp /setarmour", player );
if ( stats[ player.ID ].Level == 6 ) MessagePlayer( " [#0000ff] /ban /unban  /disarm /eject /setmoney", player );
if ( stats[ player.ID ].Level == 6 ) MessagePlayer( " [#0000ff] /settime /setweather /healall /armourall /freezeall /unfreezeall /getall /drownall /ejectall /drownall /getall", player );
if ( stats[ player.ID ].Level == 6 ) MessagePlayer( " [#0000ff] /setlevel /exec /givewep ", player );
if ( stats[ player.ID ].Level == 6 ) MessagePlayer( " [#0000ff] /amme /exec /setlevel", player );
}
}