23.03.2012, 20:31
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);