ERORS - 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)
+--- Thread: ERORS (
/showthread.php?tid=328130)
ERORS -
3RoR - 23.03.2012
y have a hospital fs and y set when the player is in the hospital the skin changes to id 62,when he got out from hospital to return the skin,look erors :@
Код:
C:\Users\pc\Desktop\City Life RolePlay\filterscripts\bolnica.pwn(182) : error 017: undefined symbol "PlayerInfo"
C:\Users\pc\Desktop\City Life RolePlay\filterscripts\bolnica.pwn(182) : warning 215: expression has no effect
C:\Users\pc\Desktop\City Life RolePlay\filterscripts\bolnica.pwn(182) : error 001: expected token: ";", but found "]"
C:\Users\pc\Desktop\City Life RolePlay\filterscripts\bolnica.pwn(182) : error 029: invalid expression, assumed zero
C:\Users\pc\Desktop\City Life RolePlay\filterscripts\bolnica.pwn(182) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Код:
new originalskin = PlayerInfo[playerid][pChar];
SetPlayerSkin(playerid, originalskin);
Re: ERORS -
Jack.7331 - 23.03.2012
I presume 182 is the top line?
Also, PlayerInfo isn't defined earlier, so I presume that's why you get "Undefined".
Re: ERORS -
.FuneraL. - 23.03.2012
Set the function PlayerInfo and if the error persists check if there is not invalid character in Line
Re: ERORS -
3RoR - 23.03.2012
here is the 183 line
new originalskin = pInfo[playerid][pChar];