I used the same method to block kill as I did with blocking drop:
PHP Code:
register_clcmd( "drop", "cmdDrop" )
register_clcmd( "kill", "cmdKill" )
PHP Code:
public cmdDrop(id)
{
if( !is_user_alive(id) )
{
return PLUGIN_CONTINUE;
}
if( gLastRequest == true && gToss == false )
{
client_print_color( id, Blue, "^4[Jailbreak] ^1You can't drop your weapon during a last request^4!" )
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
PHP Code:
public cmdKill(id)
{
if( !is_user_alive(id) )
{
return PLUGIN_CONTINUE;
}
if( gInLR[id] == true )
{
client_print_color( id, Blue, "^4[Jailbreak] ^1You can't kill yourself during a last request^4!" )
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
But for some reason it wont work

..
__________________