C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1703) : error 021: symbol already defined: "GetPlayerName" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1705) : error 010: invalid function or declaration C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1706) : error 021: symbol already defined: "dini_Create" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1707) : error 021: symbol already defined: "dini_IntSet" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1708 ) : error 021: symbol already defined: "dini_IntSet" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1709) : error 021: symbol already defined: "dini_IntSet" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1710) : error 021: symbol already defined: "dini_IntSet" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1711) : error 021: symbol already defined: "dini_IntSet" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1713) : error 021: symbol already defined: "SetPlayerMoney" C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1713) : error 010: invalid function or declaration C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1713 -- 1716) : error 010: invalid function or declaration C:\Users\Utente\Desktop\[EFS]Mercenari Clan BETA 2.0\gamemodes\kry.pwn(1713 -- 1716) : fatal error 107: too many error messages on one line |
// Include #include <a_samp> #include <streamer> #include <zcmd> #include <sscanf> #include <Dini> #include <Dutils> #include <Dudb> |
//SaveScoreMoneySkin// new pname[128]; new file[128]; GetPlayerName(playerid, pname, sizeof(pname)); format(file, sizeof(file), savefolder,pname); if(!dini_Exists(file)) { dini_Create(file); dini_IntSet(file, "Score", 0); dini_IntSet(file, "Money", 0); dini_IntSet(file, "Kills", Killz[playerid]); dini_IntSet(file, "Deaths", Deathz[playerid]); dini_IntSet(file, "Skin", 0); SetPlayerScore(playerid, dini_Int(file, "Score")); / SetPlayerMoney(playerid, dini_Int(file, "Money")); SetPlayerSkin(playerid, dini_Int(file, "Skin")); } else { SetPlayerScore(playerid, dini_Int(file, "Score")); SetPlayerMoney(playerid, dini_Int(file, "Money")); SetPlayerSkin(playerid, dini_Int(file, "Skin")); } |
/////////salavare scoreee/////// new pname[128]; new file[128]; GetPlayerName(playerid, pname, sizeof(pname)); format(file, sizeof(file), savefolder,pname); if(!dini_Exists(file)) { dini_Create(file); dini_IntSet(file, "Score", 0); dini_IntSet(file, "Money", 0); dini_IntSet(file, "Kills", Killz[playerid]); dini_IntSet(file, "Deaths", Deathz[playerid]); dini_IntSet(file, "Skin", 0); SetPlayerScore(playerid, dini_Int(file, "Score"); / SetPlayerMoney(playerid, dini_Int(file, "Money"); SetPlayerSkin(playerid, dini_Int(file, "Skin"); { else } SetPlayerScore(playerid, dini_Int(file, "Score"); SetPlayerMoney(playerid, dini_Int(file, "Money"); SetPlayerSkin(playerid, dini_Int(file, "Skin"); } return 1; } |