Hi all,
Im wondering if theres a way to only make players use !kill when they are
alive.
this way they wont be able to spam !kill when they are dead.
Also is there a way to not only make players suiside when they type !kill but also when they type !
Kill
this is the code im using:
function MyCommandF( ply, text )
if ( string.sub( text, 1, 5 ) == "!kill" ) then
ply:Kill()
return false
end
end
hook.Add( "PlayerSay", "MyCommandH", MyCommandF )
Thanks!