02.01.2010, 23:55
Hey,i have some lines and some problems with it
the lines:
and the errors
the lines:
pawn Код:
3711 {
3710 if(PlayerInfo[playerid][pDonateRank] != 0)
3711 }
3712 new pName[MAX_PLAYER_NAME];
3713 new string[48];
3714 GetPlayerName(playerid, pName, sizeof(pName));
3715 format(string, sizeof(string), "Donator %s Joined the server. (Joined)", pName);
3716 SendClientMessageToAll(0x9ACD32AA, string);
3717 }
3718 else if(PlayerInfo[playerid][pDonateRank] == 1)
3719 {
3720 new pName[MAX_PLAYER_NAME];
3721 new string[48];
3722 GetPlayerName(playerid, pName, sizeof(pName));
3723 format(string, sizeof(string), " %s Joined the server. (Joined)", pName);
3724 SendClientMessageToAll(0x9ACD32AA, string);
3725 }
pawn Код:
C:\Documents and Settings\Ingrid\Desktop\MRP\gamemodes\mrp.pwn(3711) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ingrid\Desktop\MRP\gamemodes\mrp.pwn(3711 -- 3712) : warning 215: expression has no effect
C:\Documents and Settings\Ingrid\Desktop\MRP\gamemodes\mrp.pwn(3718) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ingrid\Desktop\MRP\gamemodes\mrp.pwn(3718) : warning 215: expression has no effect
C:\Documents and Settings\Ingrid\Desktop\MRP\gamemodes\mrp.pwn(3718) : error 001: expected token: ";", but found "if"