11.05.2016, 13:15
When I try to compile this: http://pastebin.com/WGgNmnm7
I get these errors:
I have the OPSP (OnPlayerShootPlayer) include. I could always compile the script without any errors, but now when I made a little change to OnPlayerTakeDamage (didn't touch OnPlayerShootPlayer) I get these errors. Anybody knows what's the problem?
EDIT: Tried the older version of the filterscript before I made the little change and it gives me the same errors.
I get these errors:
Код:
C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(31) : warning 217: loose indentation C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(46) : warning 217: loose indentation C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(49) : warning 217: loose indentation C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(49) : error 029: invalid expression, assumed zero C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(49) : error 004: function "OnPlayerShootPlayer" is not implemented C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(52) : error 017: undefined symbol "Target" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(53) : error 017: undefined symbol "Target" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(54) : error 017: undefined symbol "ArmourLost" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(54) : error 017: undefined symbol "Target" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(55) : error 017: undefined symbol "HealthLost" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(55) : error 017: undefined symbol "Target" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(57) : error 017: undefined symbol "Shooter" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(83) : error 017: undefined symbol "Target" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(84) : error 017: undefined symbol "Target" C:\Users\User\Documents\Desktop\Los Santos Life Roleplay\filterscripts\WeaponDamages.pwn(89) : error 030: compound statement not closed at the end of file (started at line 17) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
EDIT: Tried the older version of the filterscript before I made the little change and it gives me the same errors.