Problem
#1

When I try to compile this: http://pastebin.com/WGgNmnm7
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
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.
Reply
#2

I couldn't compile the gamemode after adding something, I could always compile it without any errors. I always get some dumb errors that I never had before when I just make a little update. Something is wrong with my pawno, after updating anything I get loads of errors.
Reply
#3

welp what did you add
Reply
#4

Quote:

error 017: undefined symbol "***"

Variables not found. Create it.

@edit

Check the callback for more details.
Reply
#5

http://pastebin.com/dBM6Duvs
This worked for me, you were missing one ' } '
Reply
#6

Quote:
Originally Posted by oMa37
Посмотреть сообщение
http://pastebin.com/dBM6Duvs
This worked for me, you were missing one ' } '
Thank you very much!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)