C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(770) : error 021: symbol already defined: \"string\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
//729 sor! public OnPlayerConnect(playerid){new //Kezdõdik a GetIpCountry Connect része MaxPlayers = GetMaxPlayers(), string[144], IP[16];GetPlayerIp(playerid, IP, sizeof IP);format(string, sizeof string, \" {FFFF00}%s {00FF00}Csatlakozott a szerverhez.| {FFFFFF}Ország: {AAFFCC}%s|\", jatekosnev(playerid), GetIpCountry(IP));for(new p; p < MaxPlayers; p++){ if(!IsPlayerConnected(p) || p == playerid) continue; SendClientMessage(p, 0x00CEE23A, string);}format(string, sizeof string, \" %s IP Adress: %s |\", string, IP);SendClientMessage(playerid, 0x00CEE23A, string);//Vége a GetIpCountry Connect részénekPlayerInfo[playerid][Deaths] = 0;PlayerInfo[playerid][Kills] = 0;PlayerInfo[playerid][Jailed] = 0;PlayerInfo[playerid][Frozen] = 0;PlayerInfo[playerid][Level] = 0;PlayerInfo[playerid][LoggedIn] = 0;PlayerInfo[playerid][Registered] = 0;PlayerInfo[playerid][God] = 0;PlayerInfo[playerid][GodCar] = 0;PlayerInfo[playerid][TimesSpawned] = 0;PlayerInfo[playerid][Muted] = 0;PlayerInfo[playerid][MuteWarnings] = 0;PlayerInfo[playerid][Warnings] = 0;PlayerInfo[playerid][Caps] = 0;PlayerInfo[playerid][DoorsLocked] = 0;PlayerInfo[playerid][pCar] = -1;for(new i; i<PING_MAX_EXCEEDS; i++) PlayerInfo[playerid][pPing] = 0;PlayerInfo[playerid][spamCount] = 0;PlayerInfo[playerid][spamTime] = 0;PlayerInfo[playerid][PingCount] = 0;PlayerInfo[playerid][PingTime] = 0;PlayerInfo[playerid][FailLogin] = 0;PlayerInfo[playerid][ConnectTime] = gettime();//------------------------------------------------------//770!!! sor: new PlayerName[MAX_PLAYER_NAME], string[128], str[128], file[256];GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);new tmp3[50]; GetPlayerIp(playerid,tmp3,50);
//729 sor! public OnPlayerConnect(playerid){new //Kezdõdik a GetIpCountry Connect része MaxPlayers = GetMaxPlayers(), IP[16];GetPlayerIp(playerid, IP, sizeof IP);format(string, sizeof string, \" {FFFF00}%s {00FF00}Csatlakozott a szerverhez.| {FFFFFF}Ország: {AAFFCC}%s|\", jatekosnev(playerid), GetIpCountry(IP));for(new p; p < MaxPlayers; p++){ if(!IsPlayerConnected(p) || p == playerid) continue; SendClientMessage(p, 0x00CEE23A, string);}format(string, sizeof string, \" %s IP Adress: %s |\", string, IP);SendClientMessage(playerid, 0x00CEE23A, string);//Vége a GetIpCountry Connect részénekPlayerInfo[playerid][Deaths] = 0;PlayerInfo[playerid][Kills] = 0;PlayerInfo[playerid][Jailed] = 0;PlayerInfo[playerid][Frozen] = 0;PlayerInfo[playerid][Level] = 0;PlayerInfo[playerid][LoggedIn] = 0;PlayerInfo[playerid][Registered] = 0;PlayerInfo[playerid][God] = 0;PlayerInfo[playerid][GodCar] = 0;PlayerInfo[playerid][TimesSpawned] = 0;PlayerInfo[playerid][Muted] = 0;PlayerInfo[playerid][MuteWarnings] = 0;PlayerInfo[playerid][Warnings] = 0;PlayerInfo[playerid][Caps] = 0;PlayerInfo[playerid][DoorsLocked] = 0;PlayerInfo[playerid][pCar] = -1;for(new i; i<PING_MAX_EXCEEDS; i++) PlayerInfo[playerid][pPing] = 0;PlayerInfo[playerid][spamCount] = 0;PlayerInfo[playerid][spamTime] = 0;PlayerInfo[playerid][PingCount] = 0;PlayerInfo[playerid][PingTime] = 0;PlayerInfo[playerid][FailLogin] = 0;PlayerInfo[playerid][ConnectTime] = gettime();//------------------------------------------------------//770!!! sor: new PlayerName[MAX_PLAYER_NAME], string[128], str[128], file[256];GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);new tmp3[50]; GetPlayerIp(playerid,tmp3,50);
//729 sor! public OnPlayerConnect(playerid){ new //Kezdõdik a GetIpCountry Connect része MaxPlayers = GetMaxPlayers(), string[144], IP[16]; GetPlayerIp(playerid, IP, sizeof IP); format(string, sizeof string, \" {FFFF00}%s {00FF00}Csatlakozott a szerverhez.| {FFFFFF}Ország: {AAFFCC}%s|\", jatekosnev(playerid), GetIpCountry(IP)); for(new p; p < MaxPlayers; p++) { if(!IsPlayerConnected(p) || p == playerid) continue; SendClientMessage(p, 0x00CEE23A, string); } format(string, sizeof string, \" %s IP Adress: %s |\", string, IP); SendClientMessage(playerid, 0x00CEE23A, string); //Vége a GetIpCountry Connect részének PlayerInfo[playerid][Deaths] = 0; PlayerInfo[playerid][Kills] = 0; PlayerInfo[playerid][Jailed] = 0; PlayerInfo[playerid][Frozen] = 0; PlayerInfo[playerid][Level] = 0; PlayerInfo[playerid][LoggedIn] = 0; PlayerInfo[playerid][Registered] = 0; PlayerInfo[playerid][God] = 0; PlayerInfo[playerid][GodCar] = 0; PlayerInfo[playerid][TimesSpawned] = 0; PlayerInfo[playerid][Muted] = 0; PlayerInfo[playerid][MuteWarnings] = 0; PlayerInfo[playerid][Warnings] = 0; PlayerInfo[playerid][Caps] = 0; PlayerInfo[playerid][DoorsLocked] = 0; PlayerInfo[playerid][pCar] = -1; for(new i; i<PING_MAX_EXCEEDS; i++) PlayerInfo[playerid][pPing] = 0; PlayerInfo[playerid][spamCount] = 0; PlayerInfo[playerid][spamTime] = 0; PlayerInfo[playerid][PingCount] = 0; PlayerInfo[playerid][PingTime] = 0; PlayerInfo[playerid][FailLogin] = 0; PlayerInfo[playerid][ConnectTime] = gettime(); //------------------------------------------------------ //770!!! sor: new PlayerName[MAX_PLAYER_NAME], str[128], file[256]; GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME); new tmp3[50]; GetPlayerIp(playerid,tmp3,50);
2szer deklaráltad a stringet. Próbáld meg így: //729 sor! public OnPlayerConnect(playerid){new //Kezdõdik a GetIpCountry Connect része MaxPlayers = GetMaxPlayers(), IP[16];GetPlayerIp(playerid, IP, sizeof IP);format(string, sizeof string, \" {FFFF00}%s {00FF00}Csatlakozott a szerverhez.| {FFFFFF}Ország: {AAFFCC}%s|\", jatekosnev(playerid), GetIpCountry(IP));for(new p; p < MaxPlayers; p++){ if(!IsPlayerConnected(p) || p == playerid) continue; SendClientMessage(p, 0x00CEE23A, string);}format(string, sizeof string, \" %s IP Adress: %s |\", string, IP);SendClientMessage(playerid, 0x00CEE23A, string);//Vége a GetIpCountry Connect részénekPlayerInfo[playerid][Deaths] = 0;PlayerInfo[playerid][Kills] = 0;PlayerInfo[playerid][Jailed] = 0;PlayerInfo[playerid][Frozen] = 0;PlayerInfo[playerid][Level] = 0;PlayerInfo[playerid][LoggedIn] = 0;PlayerInfo[playerid][Registered] = 0;PlayerInfo[playerid][God] = 0;PlayerInfo[playerid][GodCar] = 0;PlayerInfo[playerid][TimesSpawned] = 0;PlayerInfo[playerid][Muted] = 0;PlayerInfo[playerid][MuteWarnings] = 0;PlayerInfo[playerid][Warnings] = 0;PlayerInfo[playerid][Caps] = 0;PlayerInfo[playerid][DoorsLocked] = 0;PlayerInfo[playerid][pCar] = -1;for(new i; i<PING_MAX_EXCEEDS; i++) PlayerInfo[playerid][pPing] = 0;PlayerInfo[playerid][spamCount] = 0;PlayerInfo[playerid][spamTime] = 0;PlayerInfo[playerid][PingCount] = 0;PlayerInfo[playerid][PingTime] = 0;PlayerInfo[playerid][FailLogin] = 0;PlayerInfo[playerid][ConnectTime] = gettime();//------------------------------------------------------//770!!! sor: new PlayerName[MAX_PLAYER_NAME], string[128], str[128], file[256];GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);new tmp3[50]; GetPlayerIp(playerid,tmp3,50);
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(735) : error 017: undefined symbol \"string\"C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(735) : error 017: undefined symbol \"string\"C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(739) : error 017: undefined symbol \"string\"C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(741) : error 017: undefined symbol \"string\"C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(741) : error 017: undefined symbol \"string\"C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(742) : error 017: undefined symbol \"string\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors.
C:\\Documents and Settings\\Bluebay\\Dokumentumok\\Beérkezett fájlok\\ladmin4v2.pwn(774) : warning 217: loose indentationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Warning.
if(ServerInfo[ConnectMessages] == 1)
@Fernando Cortez Látom tudsz scriptelni :\'DDDD[/quote]Ez most ironikus lenne?
@Fernando Cortez Látom tudsz scriptelni :\'DDDD //729 sor! public OnPlayerConnect(playerid){ new //Kezdõdik a GetIpCountry Connect része MaxPlayers = GetMaxPlayers(), string[144], IP[16]; GetPlayerIp(playerid, IP, sizeof IP); format(string, sizeof string, \" {FFFF00}%s {00FF00}Csatlakozott a szerverhez.| {FFFFFF}Ország: {AAFFCC}%s|\", jatekosnev(playerid), GetIpCountry(IP)); for(new p; p < MaxPlayers; p++) { if(!IsPlayerConnected(p) || p == playerid) continue; SendClientMessage(p, 0x00CEE23A, string); } format(string, sizeof string, \" %s IP Adress: %s |\", string, IP); SendClientMessage(playerid, 0x00CEE23A, string); //Vége a GetIpCountry Connect részének PlayerInfo[playerid][Deaths] = 0; PlayerInfo[playerid][Kills] = 0; PlayerInfo[playerid][Jailed] = 0; PlayerInfo[playerid][Frozen] = 0; PlayerInfo[playerid][Level] = 0; PlayerInfo[playerid][LoggedIn] = 0; PlayerInfo[playerid][Registered] = 0; PlayerInfo[playerid][God] = 0; PlayerInfo[playerid][GodCar] = 0; PlayerInfo[playerid][TimesSpawned] = 0; PlayerInfo[playerid][Muted] = 0; PlayerInfo[playerid][MuteWarnings] = 0; PlayerInfo[playerid][Warnings] = 0; PlayerInfo[playerid][Caps] = 0; PlayerInfo[playerid][DoorsLocked] = 0; PlayerInfo[playerid][pCar] = -1; for(new i; i<PING_MAX_EXCEEDS; i++) PlayerInfo[playerid][pPing] = 0; PlayerInfo[playerid][spamCount] = 0; PlayerInfo[playerid][spamTime] = 0; PlayerInfo[playerid][PingCount] = 0; PlayerInfo[playerid][PingTime] = 0; PlayerInfo[playerid][FailLogin] = 0; PlayerInfo[playerid][ConnectTime] = gettime(); //------------------------------------------------------ //770!!! sor: new PlayerName[MAX_PLAYER_NAME], str[128], file[256]; GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME); new tmp3[50]; GetPlayerIp(playerid,tmp3,50);