SA-MP Forums Archive
Errors - 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: Errors (/showthread.php?tid=272854)



Errors - 963852741 - 30.07.2011

PHP код:
C:\Documents and Settings\user\щемзп дтбегд\SA-MP\ъйчйд згщд\gamemodes\NewRPMod.pwn(341) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\user\щемзп дтбегд\SA-MP\ъйчйд згщд\gamemodes\NewRPMod.pwn(341) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\user\щемзп дтбегд\SA-MP\ъйчйд згщд\gamemodes\NewRPMod.pwn(341) : error 029: invalid expression, assumed zero
C
:\Documents and Settings\user\щемзп дтбегд\SA-MP\ъйчйд згщд\gamemodes\NewRPMod.pwn(341) : fatal error 107: too many error messages on one line 
Line:
PHP код:
INI_ReadString(PlayerInfo[playerid][pPass],"Password",20); 



Re: Errors - WoodPecker - 30.07.2011

Check on your gamemode if you are using PlayerInfo and not PlayerStats or something like thatm Yo


Re: Errors - 963852741 - 30.07.2011

No, I am not.


AW: Errors - samtey - 30.07.2011

U need a variable for PlayerInfo!

pawn Код:
new PlayerInfo;
And it wouldn't be bad, if u check for a left ;


Re: Errors - 963852741 - 30.07.2011

Still... same errors.


Re: Errors - PGTips - 30.07.2011

LOL PlayerInfo is basic SAMP scripting and you do NOT define it lik that in that was PlayerInfo is a so called home variable which you put under the enum and then it works

Try this
Place under your Enum
pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo];