Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Errors.../warnings...

$
0
0
Code:

C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42112) : warning 202: number of arguments does not match definition
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42112) : warning 202: number of arguments does not match definition
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42112) : warning 202: number of arguments does not match definition
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42112) : warning 202: number of arguments does not match definition
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42113) : warning 213: tag mismatch
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42114) : warning 213: tag mismatch
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42114) : warning 202: number of arguments does not match definition
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42114) : warning 202: number of arguments does not match definition
C:\Users\Shadow\Desktop\LARP v3.5 za LOCALHOST\gamemodes\IRP.pwn(42115) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664        Copyright (c) 1997-2006, ITB CompuPhase


9 Warnings.

Code:
CMD:gateinfo(playerid, params[])
{
        if(PlayerInfo[playerid][pDev] >= 2 || PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pMapper] == MAPPERRANK_MANAGER)
        {
        new string[4000];
                for(new gt = 0; gt < MAX_GATES; gt++)
                {
                        if(Gates[gt][GateCreated] == 1)
                        {
                                if(IsPlayerInRangeOfPoint(playerid, 8, Gates[gt][GateX], Gates[gt][GateY], Gates[gt][GateZ]))
                                {
                    strcat(string,"{FFFF00}____________________________________________");
                    strcat(string,"{FFFFFF}Gate ID : %i  Created by: %s  HouseID: %i  Speed: %f  ObjectID: %d", gt, Gates[gt][GateBy], Gates[gt][GateHouseID], Gates[gt][GateSpeed], Gates[gt][GateObjectID]);
                    strcat(string,"{FFFFFF}Radius: %f", Gates[gt][GateRadius]);
                    strcat(string,"{FFFFFF}X: %f, Y: %f, Z: %f", Gates[gt][GateX], Gates[gt][GateY], Gates[gt][GateZ]);
                    strcat(string,"{FFFFFF}VW: %d, INT: %d", Gates[gt][GateVW], Gates[gt][GateINT]);
                    strcat(string,"{FFFF00}____________________________________________");
                                        {
                    ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "Gate Info", string, "Okay", "Cancel");
                    }
                                }
                        }
                }
        }
        else
        {
                AdmErrorMsg;
        }
        return 1;
}


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>