Problema:Deci am si eu o problema pe care sincer chiar nu ma pricep so rezolv. Deci am facut din sistemu de coins am facut stunt point si cand am pus sistemu de stunt cu totu in gm imi spune ca Name este deja si daca modific nu mai mise salveaza nmk...
Erori / warnings:[pawn]
D:\Games\DDSIDM~1\FILTER~1\LuxAdmin.pwn(704) : error 021: symbol already defined: "Name"
Question
xt3z0ne
Nick:Johnny
Problema:Deci am si eu o problema pe care sincer chiar nu ma pricep so rezolv. Deci am facut din sistemu de coins am facut stunt point si cand am pus sistemu de stunt cu totu in gm imi spune ca Name este deja si daca modific nu mai mise salveaza nmk...
Erori / warnings:[pawn]
D:\Games\DDSIDM~1\FILTER~1\LuxAdmin.pwn(704) : error 021: symbol already defined: "Name"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
[/pawn]
Lini/script:[pawn] new Name[MAX_PLAYER_NAME],Ip[16]; GetPlayerName(playerid,Name,sizeof(Name)); GetPlayerIp(playerid,Ip,sizeof(Ip)); format(file,sizeof(file),PlayerFile,Name);
if(!dini_Exists(file)) {
dini_Create(file);
dini_IntSet(file,"GoldCoins:", PlayerInfo[playerid][GoldCoins]);
}
PlayerInfo[playerid][GoldCoins] = dini_Int(file,"GoldCoins:");[/pawn]
Iar la stunt am
[pawn]new stun[100],Name[MAX_PLAYER_NAME],Ip[16]; GetPlayerName(playerid,Name,sizeof(Name)); GetPlayerIp(playerid,Ip,sizeof(Ip)); format(stun,sizeof(stun),PlayerStun,Name);
if(!dini_Exists(stun)) {
dini_Create(stun);
dini_IntSet(stun,"StuntPoint:", pInfo[playerid][stuntPoint]);
}
pInfo[playerid][stuntPoint] = dini_Int(stun,"StuntPoint:");[/pawn]
Ai incercat sa rezolvi singur ?:Va rog o rezolvare:(
Sunt un retardat
Link to comment
Share on other sites
11 answers to this question
Recommended Posts