Got 4 pawno errors!
#1

I got these errors

PHP код:

C
:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(5051) : warning 215expression has no effect
C
:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(5084) : warning 215expression has no effect
C
:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(5114) : warning 215expression has no effect
C
:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(43523) : error 017undefined symbol "string"
C:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(43523) : error 017undefined symbol "string"
C:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(43523) : error 029invalid expressionassumed zero
C
:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(43523) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

In this command

PHP код:

CMD
:******(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] >= 3) return SendClientMessage(playeridCOLOR_GREY"You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
    
if(!strcmp(params"all"true))
    {
This is the line        format(stringsizeof(string), "{FF0000}[Admin]{FF6347} %s has checked everybody online for ****** hacks."NORPN(playerid));
        
SendClientMessageToAll(COLOR_LIGHTREDstring);
        foreach(
Playerp)
        {
            for(new 
i=0i<13i++)
            {
                   
GetPlayerWeaponData(piweapons[i][0], weapons[i][1]);
                if(
weapons[i][0] != PlayerInfo[p][pWeapon][i] && weapons[i][0] != PlayerInfo[playerb][pWeapon][i] && weapons[i][1] != 0)
                {
                    
format(stringsizeof(string), "{FF0000}[Admin Warn]{FF6347} %s is hacking a %s. (Global ****** check by %s)"NORPN(p), RWN(weapons[i][0]), NORPN(playerid));
                    
SendAdminMessage(COLOR_DARKRED1string);
                }
            }
        }
        return 
1;
    }
    if(
sscanf(params"u"playerb)) return SendClientMessage(playeridCOLOR_WHITE"USAGE: /****** [playerid/all]");
    if(!
IsPlayerLoggedIn(playerb)) return SendClientMessage(playeridCOLOR_GREY"Invalid player id.");
    
format(stringsizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has checked %s for ****** hacks."NORPN(playerid), NORPN(playerb));
    
SendAdminMessage(COLOR_DARKRED1string);
    for(new 
i=0i<13i++)
    {
        
GetPlayerWeaponData(playerbiweapons[i][0], weapons[i][1]);
        if(
weapons[i][0] != PlayerInfo[playerb][pWeapon][i])
        {
             
format(stringsizeof(string), "{FF0000}[Admin Warn]{FF6347} %s is hacking a %s. (Specific ****** check by %s)"NORPN(playerb), RWN(weapons[i][0]), NORPN(playerid));
            
SendAdminMessage(COLOR_DARKRED1string);
        }
    }
    return 
1;

Reply


Messages In This Thread
Got 4 pawno errors! - by thomaswilliams - 26.10.2013, 15:24
Re: Got 4 pawno errors! - by SilentSoul - 26.10.2013, 15:27
Re: Got 4 pawno errors! - by Konstantinos - 26.10.2013, 15:29
Re: Got 4 pawno errors! - by thomaswilliams - 26.10.2013, 17:23

Forum Jump:


Users browsing this thread: 2 Guest(s)