Prerabam akurat moje bojove umenia tak aby ich ukladalo do ini suborov mno mam jeden problem spravil som to tak aby ked sa hrac pripoji tak aby mu svoje bojove umenie nacitalo mno a vyhodi mi tam error
Kód
public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid, name, sizeof(name));
new boj;
format(file, sizeof(file), "umenia/%s.ini", name);
if(!dini_Exists(file))
{
return 1;
}
else
{
strmid(name, dini_Get(file,"Meno"), false, strlen(dini_Get(file,"Meno")), 21);
boj = dini_Get(file, "Umenie"); // Toto je 146. riadok ://
SetPlayerFightingStyle (playerid, boj);
return 1;
}
}
ERROR
E:\samp server 0.3x\filterscripts\prikazy.pwn(146) : error 006: must be assigned to an array
Dotaz
DJ_Oli22 0
CS all
Prerabam akurat moje bojove umenia tak aby ich ukladalo do ini suborov mno mam jeden problem spravil som to tak aby ked sa hrac pripoji tak aby mu svoje bojove umenie nacitalo mno a vyhodi mi tam error
Kód
ERROR
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now