HELP!! Warnings
#1

pawn Код:
if(ServerInfo[ConnectMessages] == 1)
    {
        if (strlen(dini_Get("LuxAdmin/Config/aka.txt",tmp3)) < 3)
        format(str,sizeof(str),"{FF0000}[JOIN]: %s {FFFF00}|{800080}[ID]:%d {FFFF00}|{90EE90}[Country]: %s {FFFF00}| {FFFFFF}[IP]: %s ", PlayerName,playerid,GetPlayerCountryName(playerid),GetPlayerIp(playerid));
        else if (!strcmp(dini_Get("LuxAdmin/Config/aka.txt",tmp3),PlayerName,true))
        format(str,sizeof(str),"{FF0000}[JOIN]: %s {FFFF00}|{800080}[ID]:%d {FFFF00}|{90EE90}[Country]: %s {FFFF00}| {FFFFFF}[IP]: %s ", PlayerName,playerid,GetPlayerCountryName(playerid),GetPlayerIp(playerid));
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && playerid != i)
            {
                if(AccInfo[i][Level] > 2)
                    SendClientMessage(i,grey,str);
                else
                {
                    format(string,sizeof(string),"{FF0000}[JOIN]: %s {FFFF00}|{800080}[ID]:%d {FFFF00}|{90EE90}[Country]: %s {FFFF00}| {FFFFFF}[IP]: %s ", PlayerName,playerid,GetPlayerCountryName(playerid),GetPlayerIp(playerid));
                    SendClientMessage(i,grey,string);
                }
            }
        }
    }
pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(9071) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(9071) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(9073) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(9073) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(9082) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(9082) : warning 202: number of arguments does not match definition
Reply
#2

We don't now the line numbers ^^
Reply
#3

simple way to get rid of it, on top of your script under defines/includes/new, add:
pawn Код:
#pragma tabsize 0
after that compile it , those kind of warnings should not appear
if that helped you dont forget to +rep
Reply
#4

Ok Tnx REp+
I Need Tutor In Scrpting Can You Help me ? Pm me If You want
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)