- 0
Cerere Ajutor " Name"
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
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
11 answers to this question
Recommended Posts