I tried copying code from the script example, but even though I can't find any difference between his code and mine his version works and mine doesn't.
This is what it looks like right now:
Code: Select all
With NPC(sysval(param1))
If .ivala >=10 Then
Call NKill(sysval(param1),0,0,0,0,0,0,0)
Else
.ivala = .ivala + 1
End If
End With
Please help

Edit: Sorry for being so unproffesional, I usually try not to sound this whiny but I was really tired and a bit frustrated when I wrote it.








