#1

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);
Reply
#2

I presume 182 is the top line?
Also, PlayerInfo isn't defined earlier, so I presume that's why you get "Undefined".
Reply
#3

Set the function PlayerInfo and if the error persists check if there is not invalid character in Line
Reply
#4

here is the 183 line
new originalskin = pInfo[playerid][pChar];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)