15.09.2012, 13:09
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