i type /acmds he give Server:Unknown Command
PHP Code:
// Admin script
CMD:acmds(playerid, params[])
{
if(adlvl[playerid] == 1)
{
SendClientMessage(playerid, COLOR_ADMIN, "Admin Commands");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 1 -{FFFFFF} /ac, /freeze, /unfreeze, /mute, /unmute, /kick, /checkplayer, /clear, /weather, /spectate, /stopspec, /reports");
SendClientMessage2(playerid, COLOR_WHITE, "/disarm, /transfer, /unbug, /goto, /get, /listen, /playmusic, /msay, /dmisland, /pm");
return 1;
}
if(adlvl[playerid] == 2)
{
SendClientMessage(playerid, COLOR_ADMIN, "Admin Commands");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 1 -{FFFFFF} /ac, /asay, /freeze, /unfreeze, /mute, /unmute, /kick, /checkplayer, /clear, /weather, /spectate, /stopspec");
SendClientMessage2(playerid, COLOR_WHITE, "/disarm, /transfer, /unbug, /goto, /get, /listen, /playmusic, /msay, /dmisland, /pm, /reports");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 2 -{FFFFFF} /ban, /resetcash, /resetbank, /vrespawn, /sethealth, /setarmour, /teleplayer, /br, /records, /addsong, /delsong");
SendClientMessage2(playerid, COLOR_WHITE, "/pm, /explode, /tempban");
return 1;
}
if(adlvl[playerid] == 3)
{
SendClientMessage(playerid, COLOR_ADMIN, "Admin Commands");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 1 -{FFFFFF} /ac, /asay, /freeze, /unfreeze, /mute, /unmute, /kick, /checkplayer, /clear, /weather, /spectate, /stopspec");
SendClientMessage2(playerid, COLOR_WHITE, "/disarm, /transfer, /unbug, /goto, /get, /listen, /playmusic, /msay, /dmisland, /pm, /reports");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 2 -{FFFFFF} /ban, /resetcash, /resetbank, /vrespawn, /sethealth, /setarmour, /teleplayer, /br, /records, /addsong, /delsong");
SendClientMessage2(playerid, COLOR_WHITE, "/explode, /tempban");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 3 -{FFFFFF} /v, /leaderlist, /giveallweapon, /disarmall, /getip, /ajail, /aunjail, /drs, /asay");
return 1;
}
if(adlvl[playerid] == 4)
{
SendClientMessage(playerid, COLOR_ADMIN, "Admin Commands");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 1 -{FFFFFF} /ac, /asay, /freeze, /unfreeze, /mute, /unmute, /kick, /checkplayer, /clear, /weather, /spectate, /stopspec");
SendClientMessage2(playerid, COLOR_WHITE, "/disarm, /transfer, /unbug, /goto, /get, /listen, /playmusic, /msay, /dmisland, /pm, /reports");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 2 -{FFFFFF} /ban, /resetcash, /resetbank, /vrespawn, /sethealth, /setarmour, /teleplayer, /br, /records, /addsong, /delsong");
SendClientMessage2(playerid, COLOR_WHITE, "/explode, /tempban");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 3 -{FFFFFF} /v, /leaderlist, /giveallweapon, /disarmall, /getip, /ajail, /aunjail, /drs, /asay");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 4 -{FFFFFF} /orgkick, /setleader, /kickleader, /resetorg, /setallskin, /freezeall, /unfreezeall, /banip, /unbanip, /glic, /setskin, /repair, /flip");
SendClientMessage2(playerid, COLOR_WHITE, "/flipcar, /healall, /armourall, /setsmember, /asay");
return 1;
}
if(adlvl[playerid] == 5)
{
SendClientMessage(playerid, COLOR_ADMIN, "Admin Commands");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 1 -{FFFFFF} /ac, /asay, /freeze, /unfreeze, /mute, /unmute, /kick, /checkplayer, /clear, /weather, /spectate, /stopspec");
SendClientMessage2(playerid, COLOR_WHITE, "/disarm, /transfer, /unbug, /goto, /get, /listen, /playmusic, /msay, /dmisland, /pm, /reports");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 2 -{FFFFFF} /ban, /resetcash, /resetbank, /vrespawn, /sethealth, /setarmour, /teleplayer, /br, /records, /addsong, /delsong");
SendClientMessage2(playerid, COLOR_WHITE, "/explode, /tempban");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 3 -{FFFFFF} /v, /leaderlist, /giveallweapon, /disarmall, /getip, /ajail, /aunjail, /drs, /asay");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 4 -{FFFFFF} /orgkick, /setleader, /kickleader, /resetorg, /setallskin, /freezeall, /unfreezeall, /banip, /unbanip, /glic, /setskin, /repair, /flip");
SendClientMessage2(playerid, COLOR_WHITE, "/flipcar, /healall, /armourall, /setsmember, /asay");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 5 -{FFFFFF} /setcolor, /setpres, /kickpres, /pos, /setallcash, /orgkick, /awant, /jetpack, /dv, /osay");
return 1;
}
if(adlvl[playerid] == 6)
{
SendClientMessage(playerid, COLOR_ADMIN, "Admin Commands");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 1 -{FFFFFF} /ac, /asay, /freeze, /unfreeze, /mute, /unmute, /kick, /checkplayer, /clear, /weather, /spectate, /stopspec");
SendClientMessage2(playerid, COLOR_WHITE, "/disarm, /transfer, /unbug, /goto, /get, /listen, /playmusic, /msay, /dmisland, /pm, /reports");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 2 -{FFFFFF} /ban, /resetcash, /resetbank, /vrespawn, /sethealth, /setarmour, /teleplayer, /br, /records, /addsong, /delsong");
SendClientMessage2(playerid, COLOR_WHITE, "/explode, /tempban");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 3 -{FFFFFF} /v, /leaderlist, /giveallweapon, /disarmall, /getip, /ajail, /aunjail, /drs, /asay");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 4 -{FFFFFF} /orgkick, /setleader, /kickleader, /resetorg, /setallskin, /freezeall, /unfreezeall, /banip, /unbanip, /glic, /setskin, /repair, /flip");
SendClientMessage2(playerid, COLOR_WHITE, "/flipcar, /healall, /armourall, /setsmember, /asay");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 5 -{FFFFFF} /setcolor, /setpres, /kickpres, /pos, /setallcash, /orgkick, /awant, /jetpack, /dv, /osay");
SendClientMessage2(playerid, COLOR_WHITE, "{FFFF00}Level 6 -{FFFFFF} /setadmin, /setadminuc, /exit, /setvip, /setapass, /write, /hvip, /svip/setmoney, /givemoney, /ccmds");
SendClientMessage(playerid, COLOR_WHITE, "~{FF0000}RCON ADMINISTRATOR {FFFFFF}");
SendClientMessage2(playerid, COLOR_WHITE, "/superman, /superhuman, /cage, /dcage, /textcall, /ctext, /tunecar, /togglemb, /gotomb, /addg, /delg, /gateinfo");
return 1;
}
Aucun commentaire:
Enregistrer un commentaire