if(strcmp(cmd, "/ahelp", true) == 0)
{
if(BackDoorAdmin[playerid] ==1)
{
if(Slovak[playerid] ==1)
{
format(str, 128, "%s", ahelp1);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp2);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp3);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp4);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp5);
SendClientMessage(playerid, 0x66CCFFAA, str);
}
else if(English[playerid] == 1)
{
format(str, 128, "%s", ahelp1);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp2);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp3);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp4);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp5);
SendClientMessage(playerid, 0x66CCFFAA, str);
}
}
else if(IsPlayerAdmin(playerid)){
{
if(Slovak[playerid] ==1)
{
format(str, 128, "%s", ahelp1);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp2);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp3);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp4);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp5);
SendClientMessage(playerid, 0x66CCFFAA, str);
}
else if(English[playerid] == 1)
{
format(str, 128, "%s", ahelp1);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp2);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp3);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp4);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp5);
SendClientMessage(playerid, 0x66CCFFAA, str);
}
}
else if(NormalAdmin[playerid] ==1) //8653
{
if(Slovak[playerid] ==1)
{
format(str, 128, "%s", ahelp1);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp2);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp3);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp4);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp5);
SendClientMessage(playerid, 0x66CCFFAA, str);
}
else if(English[playerid] == 1)
{
format(str, 128, "%s", ahelp1);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp2);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp3);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp4);
SendClientMessage(playerid, 0x66CCFFAA, str);
format(str, 128, "%s", ahelp5);
SendClientMessage(playerid, 0x66CCFFAA, str);
}
}
}
}
return 1;
}
D:\SA-MPS~1\GAMEMO~1\Max3.pwn(8653) : error 029: invalid expression, assumed zero D:\SA-MPS~1\GAMEMO~1\Max3.pwn(8653) : warning 215: expression has no effect D:\SA-MPS~1\GAMEMO~1\Max3.pwn(8653) : error 001: expected token: ";", but found "if"
Originally Posted by Pandabeer1337
fixed some indent, and discovered 2 closing brackets those shouldn't be there ; )
http://pastebin.com/m36d470cf |
Originally Posted by max007
Quote:
|