Help my gm
#1

Hello,
My names is gtafurios!
Can you help me?
My gamemode send me an errors

Quote:

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

How i fix it?
Sorry for my bad english i'm italian
Reply
#2

you must give us your codes to fix it
example
:
On line 1703 is .........
Reply
#3

Sorry
Quote:

// Include
#include <a_samp>
#include <streamer>
#include <zcmd>
#include <sscanf>
#include <Dini>
#include <Dutils>
#include <Dudb>

(1703) (1705) (1705) (1706) (1708 ) (1709 ) (1710) (1711) (1713) (1713-1716):
OnPlayerConnect
Quote:

//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"));

}

Reply
#4

are you sure to not wrong on brackets({})?
because they are very sensitive!!
Reply
#5

I don't know
Hot to fix this?
Reply
#6

there isn't any program to fix bracket but there is but it's false not fixed anything ) i can fix brackets with notepad ++ with find =))
Reply
#7

Ok thanks
How i fix it?
Quote:

/////////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;
}

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)