17.02.2009, 07:39
pawn Код:
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"