How do I make this command smaller?
#2

Quote:
Originally Posted by Antonio (dominationrp.netii.net)
Title says It all, I want to make it smaller. Hopefully you know What I mean

Код:
if(strcmp(cmd, "/adminhelp", true) == 0 || strcmp(cmd, "/ah", true) == 0)
{
SendClientMessage(playerid, COLOR_RED,"*****************************************************************************************************************************");
if (PlayerInfo[playerid][pAdmin] == 1)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 1");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
}
if (PlayerInfo[playerid][pAdmin] == 2)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 2");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
}
if (PlayerInfo[playerid][pAdmin] == 3)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 3");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
}
if (PlayerInfo[playerid][pAdmin] == 4)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 4");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4:");
SendClientMessage(playerid, COLOR_YELLOW, "/freeze /thaw /slap");
}
if (PlayerInfo[playerid][pAdmin] == 5)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 5");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4:");
SendClientMessage(playerid, COLOR_YELLOW, "/freeze /thaw /slap");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 5:");
SendClientMessage(playerid, COLOR_YELLOW, "/goto /stats /disarm /bizname");
}
if (PlayerInfo[playerid][pAdmin] == 6)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 6");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4:");
SendClientMessage(playerid, COLOR_YELLOW, "/freeze /thaw /slap");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 5:");
SendClientMessage(playerid, COLOR_YELLOW, "/goto /stats /disarm /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 6:");
SendClientMessage(playerid, COLOR_YELLOW, "/makeleader /removeleader /makemember /getip /aresign /ban /unban /unbanip");
SendClientMessage(playerid, COLOR_YELLOW, "/warn /unwarn /getwarning /gethere /bizname");
}
if (PlayerInfo[playerid][pAdmin] == 7)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 7");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4:");
SendClientMessage(playerid, COLOR_YELLOW, "/freeze /thaw /slap");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 5:");
SendClientMessage(playerid, COLOR_YELLOW, "/goto /stats /disarm /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 6:");
SendClientMessage(playerid, COLOR_YELLOW, "/makeleader /removeleader /makemember /getip /aresign /ban /unban /unbanip");
SendClientMessage(playerid, COLOR_YELLOW, "/warn /unwarn /getwarning /gethere /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 7:");
SendClientMessage(playerid, COLOR_YELLOW, "/bigears /house /biz /sbiz /gotohq /gotols /gotolv /gotosf /bizname");
}
if (PlayerInfo[playerid][pAdmin] == 8)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 8");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4:");
SendClientMessage(playerid, COLOR_YELLOW, "/freeze /thaw /slap");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 5:");
SendClientMessage(playerid, COLOR_YELLOW, "/goto /stats /disarm /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 6:");
SendClientMessage(playerid, COLOR_YELLOW, "/makeleader /removeleader /makemember /getip /aresign /ban /unban /unbanip");
SendClientMessage(playerid, COLOR_YELLOW, "/warn /unwarn /getwarning /gethere /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 7:");
SendClientMessage(playerid, COLOR_YELLOW, "/bigears /house /biz /sbiz /gotohq /gotols /gotolv /gotosf /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 8:");
SendClientMessage(playerid, COLOR_YELLOW, "/sethealth /setarmour /bizname /noooc");
}
if (PlayerInfo[playerid][pAdmin] == 9)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 9");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4:");
SendClientMessage(playerid, COLOR_YELLOW, "/freeze /thaw /slap");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 5:");
SendClientMessage(playerid, COLOR_YELLOW, "/goto /stats /disarm /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 6:");
SendClientMessage(playerid, COLOR_YELLOW, "/makeleader /removeleader /makemember /getip /aresign /ban /unban /unbanip");
SendClientMessage(playerid, COLOR_YELLOW, "/warn /unwarn /getwarning /gethere /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 7:");
SendClientMessage(playerid, COLOR_YELLOW, "/bigears /house /biz /sbiz /gotohq /gotols /gotolv /gotosf /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 8:");
SendClientMessage(playerid, COLOR_YELLOW, "/sethealth /setarmour /bizname /noooc");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 9:");
SendClientMessage(playerid, COLOR_YELLOW, "/logoutall /updateall /noooc /restart /bizname");
}
if (PlayerInfo[playerid][pAdmin] == 10)
{
SendClientMessage(playerid, COLOR_GREEN, "Welcome to the admin help center. Your admin level is 10");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 1:");
SendClientMessage(playerid, COLOR_YELLOW, "/admin /mute /mutelist /kick /endallvote");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 2:");
SendClientMessage(playerid, COLOR_YELLOW, "/akill /rescar /cnn /spec");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 3:");
SendClientMessage(playerid, COLOR_YELLOW, "/ps /ajail /unjail");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4:");
SendClientMessage(playerid, COLOR_YELLOW, "/freeze /thaw /slap");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 5:");
SendClientMessage(playerid, COLOR_YELLOW, "/goto /stats /disarm /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 6:");
SendClientMessage(playerid, COLOR_YELLOW, "/makeleader /removeleader /makemember /getip /aresign /ban /unban /unbanip");
SendClientMessage(playerid, COLOR_YELLOW, "/warn /unwarn /getwarning /gethere /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 7:");
SendClientMessage(playerid, COLOR_YELLOW, "/bigears /house /biz /sbiz /gotohq /gotols /gotolv /gotosf /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 8:");
SendClientMessage(playerid, COLOR_YELLOW, "/sethealth /setarmour /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 9:");
SendClientMessage(playerid, COLOR_YELLOW, "/logoutall /updateall /noooc /restart /bizname");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 10:");
SendClientMessage(playerid, COLOR_YELLOW, "/tphouse /entercar /joincar /skydive /position /apark /resetmoney /payday");
SendClientMessage(playerid, COLOR_YELLOW, "/asellcar /asellhouse /asellbiz /asellsbiz /givedonation /setstat /bizname");
SendClientMessage(playerid, COLOR_YELLOW, "/sethqstat /setcarstat /sethousestat /setbizstat /setsbizstat /makeadmin");
}
SendClientMessage(playerid, COLOR_RED,"*****************************************************************************************************************************");
return 1;
}
try dcmd
Reply


Messages In This Thread
How do I make this command smaller? - by Antonio [G-RP] - 13.05.2010, 22:24
Re: How do I make this command smaller? - by luigifan9 - 13.05.2010, 22:25
Re: How do I make this command smaller? - by Antonio [G-RP] - 13.05.2010, 22:29
Re: How do I make this command smaller? - by juice.j - 13.05.2010, 22:51
Re: How do I make this command smaller? - by Antonio [G-RP] - 13.05.2010, 23:11
Re: How do I make this command smaller? - by juice.j - 13.05.2010, 23:13
Re: How do I make this command smaller? - by Antonio [G-RP] - 13.05.2010, 23:16
Re: How do I make this command smaller? - by Whitetiger - 13.05.2010, 23:20
Re: How do I make this command smaller? - by pen_theGun - 13.05.2010, 23:22
Re: How do I make this command smaller? - by Antonio [G-RP] - 14.05.2010, 02:59

Forum Jump:


Users browsing this thread: 1 Guest(s)