client_command
PHP Code:
public client_command(plr)
{
if( !is_user_alive(plr) )
{
return PLUGIN_CONTINUE;
}
new sCommand[10];
read_argv(0, sCommand, 9);
if( equali(sCommand, "drop", 0) && gLastRequest == true && gToss == false )
{
client_print_color( plr, Blue, "^4[Jailbreak] ^1You can't drop your weapon during a last request^4!" )
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
Am I missing something? If its a last request, and gToss isn't true, then it wont let you drop the weapon. But for some reason, even if gToss is true, it lets you drop the weapon..
|