Have a question.
#1

In the enum I have this

enum pInfo
{
pWord[128],
...
...
};


new PlayerInfo[MAX_PLAYERS][pInfo];

anyhow...


I am trying to load from the dini file into pWord

PlayerInfo[playerid][pWord][] = dini_Get(filename, "pWord");
and it doesn't work I also tryed
PlayerInfo[playerid][pWord] = dini_Get(filename, "pWord");
Anyone know how to do this shit?
Reply
#2

why u use array for pWorld? It is unnecessary.
Reply
#3

Its a password, and a character array
Reply
#4

oh, sry, I thought this virtual world.
Hm, PlayerInfo[playerid][pWord] = dini_Get(filename, "pWord");
it must be work, Password is in the file? Maybe there is no such file?
Reply
#5

pawn Код:
format(PlayerInfo[playerid][pWord], 128, "%s", dini_Get(filename, "pWord"));
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)