[HELP] 1 error
#1

Errors:
pawn Код:
... RL.pwn(100) : error 017: undefined symbol "Skin"
pawn Код:
Line 100:
dini_IntSet(file, "Skin",PlayerInfo[playerid][Skin] = 0);
Reply
#2

Change this:

pawn Код:
dini_IntSet(file, "Skin",PlayerInfo[playerid][Skin]);
For:

pawn Код:
dini_IntSet(file, "Skin",PlayerInfo[playerid][pChar]);//pChar is the Skin variable in The GodFather GameMode.
I hope that i have helped
Reply
#3

pawn Код:
new skin;
or
pawn Код:
new skin[MAX_PLAYERS];
?

Give me some more information, I wouldn't know if I can't see the other lines.
Reply
#4

I'm using this script --> http://pastebin.com/Ygy5z1d8

I am using it only for testing, i want to make that skins and other things will save.
Reply
#5

pawn Код:
enum pInfo
{
    pAdminLevel,
    pCash,
    pScore,
    pSkin
}
new PlayerInfo[MAX_PLAYERS][pInfo];
pawn Код:
dini_IntSet(file, "Skin",PlayerInfo[playerid][pSkin] = 0);
Reply
#6

Under "enum pInfo {" add "pSkin,".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)