30.03.2016, 18:53
Hi,
I need help with this filterscript: http://pastebin.com/r3QDy612
It's supposed to be custom damage for M4, AK-47 and MP5, but I can't compile it.
Here are the errors:
Could someone fix that for me? Also I'm not sure if it will take armor. If not then can someone make it like that if player has armor it takes that much damage that is stated in the script and if armor reaches 0 or player has no armor it takes health.
I'd really appreciate that because I don't know how to script, but I need this.
I need help with this filterscript: http://pastebin.com/r3QDy612
It's supposed to be custom damage for M4, AK-47 and MP5, but I can't compile it.
Here are the errors:
Quote:
C:\Users\User\Desktop\Los Santos Life Roleplay\RealisticDamages.pwn(34) : error 036: empty statement C:\Users\User\Desktop\Los Santos Life Roleplay\RealisticDamages.pwn(47) : warning 217: loose indentation C:\Users\User\Desktop\Los Santos Life Roleplay\RealisticDamages.pwn(47) : error 014: invalid statement; not in switch C:\Users\User\Desktop\Los Santos Life Roleplay\RealisticDamages.pwn(47) : warning 215: expression has no effect C:\Users\User\Desktop\Los Santos Life Roleplay\RealisticDamages.pwn(47) : error 001: expected token: ";", but found ":" C:\Users\User\Desktop\Los Santos Life Roleplay\RealisticDamages.pwn(47) : error 029: invalid expression, assumed zero C:\Users\User\Desktop\Los Santos Life Roleplay\RealisticDamages.pwn(47) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (coffee) 1997-2006, ITB CompuPhase 5 Errors |
I'd really appreciate that because I don't know how to script, but I need this.