HELP!! Warnings - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP!! Warnings (
/showthread.php?tid=377737)
HELP!! Warnings -
Windrush - 15.09.2012
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
AW: HELP!! Warnings -
BiosMarcel - 15.09.2012
We don't now the line numbers ^^
Re: HELP!! Warnings -
xMCx - 15.09.2012
simple way to get rid of it, on top of your script under defines/includes/new, add:
after that compile it , those kind of warnings should not appear
if that helped you dont forget to +rep
Re: HELP!! Warnings -
Windrush - 15.09.2012
Ok Tnx REp+
I Need Tutor In Scrpting Can You Help me ? Pm me If You want