You cannot cancel these events, use the client-side equivalents (onClientPlayerDamage, onClientPlayerStealthKill).
Ups sorry, actually I mean the client-side (a bit dreaming while type it).
@ElMota: From what I see, xTeacherx just want to enable Edit button for Admin, and disable it from others.
And on your codes, yes, it's actually possible to pur addEventHandler on an function.
Uhm, I'm not sure I can help that point.
But about /new command, I'm not totally sure.
I ever try to stop votemanager, but people still can use /new command.
But it only show the outputChatBox, and nothing happen after all.
bindKey
setPedAnimation
From what you have say, I just can get the point to roll when the player falled and press button thingy.
So, I just can give that.
Nah, It doesn't mean like that.
With string.gsub, It will replace any color code on player name, so you don't really need to put #FF0000 to your outputChatBox (Probably most people use it to make color code from player name will not appear if they set colorCoded to be false. So most people set colorCoded to be true and put color code at the outputChatBox to handle it).
I'm not sure it's your problem, but that's my idea.
At least try it.
You can use this instead..
playerName = string.gsub (getPlayerName(source), "#x%x%x%x%x%x%", "") -- Replace player name color code to nothing
outputChatBox (playerName.." bla bla bla", source, 255, 0, 0, false)
Hi, lol.
It's easy and simple to make it.
-- Important Function
scoreboardAddColumn
setElementData
createProjectile
-- Important Event
onPlayerWasted
Look throught those function(s) and event(s), and you probably could imagine the way to make it.
//EDIT:
You said on skype you need Win counter thingy.
I thought you have LastMan thingy, modify it a bit, and you can make it.
Regards,
KenXeiko