[HELP] 1 error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] 1 error (
/showthread.php?tid=228958)
[HELP] 1 error -
Matej_ - 20.02.2011
Errors:
pawn Код:
... RL.pwn(100) : error 017: undefined symbol "Skin"
pawn Код:
Line 100:
dini_IntSet(file, "Skin",PlayerInfo[playerid][Skin] = 0);
Re: [HELP] 1 error - rjjj - 20.02.2011
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
Re: [HELP] 1 error -
grand.Theft.Otto - 20.02.2011
or
?
Give me some more information, I wouldn't know if I can't see the other lines.
Re: [HELP] 1 error -
Matej_ - 20.02.2011
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.
Re: [HELP] 1 error -
MadeMan - 20.02.2011
pawn Код:
enum pInfo
{
pAdminLevel,
pCash,
pScore,
pSkin
}
new PlayerInfo[MAX_PLAYERS][pInfo];
pawn Код:
dini_IntSet(file, "Skin",PlayerInfo[playerid][pSkin] = 0);
Re: [HELP] 1 error -
jameskmonger - 20.02.2011
Under "enum pInfo {" add "pSkin,".