• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[LUA] Easy script, just need 1 little editing!

ZelOT

New Member
Joined
Sep 13, 2010
Messages
85
Reaction score
1
Location
Sweden
Hello, this is my guard.lua that Falk will be using (the guard in edron boat).
So, the problem is, he is KILLING players when they say 'fuck'.
I need a script that will only damage them as real guards or to like 1 hp or something.

doCreatureAddHealth(cid,-getCreatureMaxHealth(cid)-200)

Is is something here that needs to be fixed?

Thanks in advance.
 
LUA:
doSendAnimatedText(getThingPos(cid), '-'..getCreatureHealth(cid), 180)
doCreatureAddHealth(cid,-getCreatureHealth(cid))
 
Back
Top