D:\GTA SA\Samp Server\gamemodes\PHC.pwn(2994) : error 075: input line too long (after substitutions)D:\GTA SA\Samp Server\gamemodes\PHC.pwn(2995) : error 029: invalid expression, assumed zero D:\GTA SA\Samp Server\gamemodes\PHC.pwn(2995) : error 001: expected token: ";", but found "return" D:\GTA SA\Samp Server\gamemodes\PHC.pwn(2995) : error 037: invalid string (possibly non-terminated string) D:\GTA SA\Samp Server\gamemodes\PHC.pwn(2995) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
if(!strcmp(cmd, "/Kill", true)) return SetPlayerHealth(playerid,0); if(InMini[playerid] == 1 && !IsPlayerXAdmin(playerid) || InWar[playerid] == 1 && !IsPlayerXAdmin(playerid) || InBoom[playerid] == 1 && !IsPlayerXAdmin(playerid) || InWeapons[playerid] == 1 && !IsPlayerXAdmin(playerid) || InMonster[playerid] == 1 && !IsPlayerXAdmin(playerid) || InSwar[playerid] == 1 && !IsPlayerXAdmin(playerid) || InTanks[playerid] == 1 && !IsPlayerXAdmin(playerid) || || InDrisa[playerid] == 1 && !IsPlayerXAdmin(playerid) return SendClientMessage(playerid,COLOR_KRED,".айрк йлем мтщеъ фчегеъ бфтймеъ"); |
First of all, put your code in [pawn] tags. And tell us which specific line the error is at.
|
error 075: input line too long (after substitutions)
if(!strcmp(cmd, "/kill", true))return SetPlayerHealth(playerid, 0);
error 001: expected token: ")", but found "return"
error 037: invalid string (possibly non-terminated string)
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
if(InMini[playerid] == 1 && !IsPlayerXAdmin(playerid) || InWar[playerid] == 1 && !IsPlayerXAdmin(playerid) || InBoom[playerid] == 1 && !IsPlayerXAdmin(playerid) || InWeapons[playerid] == 1 && !IsPlayerXAdmin(playerid) || InMonster[playerid] == 1 && !IsPlayerXAdmin(playerid) || InSwar[playerid] == 1 && !IsPlayerXAdmin(playerid) || InTanks[playerid] == 1 && !IsPlayerXAdmin(playerid) || InDrisa[playerid] == 1 && !IsPlayerXAdmin(playerid)return SendClientMessage(playerid,COLOR_KRED,"айрк йлем мтщеъ фчегеъ лащш аъд бфтймеъ");
Yea, that is ok but your command is badly worked. Like Ryan said, try splitting up so it looks better and so you can find easier the problems.
|
if(!strcmp(cmd, "/Kill", true)) return SetPlayerHealth(playerid,0);
if(!IsPlayerXAdmin(playerid))
{
if(InMini[playerid] == 1 || InWar[playerid] == 1 || InBoom[playerid] == 1 || InWeapons[playerid] == 1 || InMonster[playerid] == 1 || InSwar[playerid] == 1 || InTanks[playerid] == 1 || InDrisa[playerid] == 1)
return SendClientMessage(playerid,COLOR_KRED,".айрк йлем мтщеъ фчегеъ бфтймеъ");
}
Look, put all of your code on [pawn] [*/pawn] tags(without the *), and I will try to do it for you.
|