Disable command
#1

How to disable command when player death?

I tried when player health is below 1, he can't use command, but it didn't work and he still can use it.
Like:

PHP код:
    new Float:health;
    
GetPlayerHealth(playeridhealth);
    if(
health 0) return SendClienMessage(playerid"You cannot use command while dead"); 
Reply


Messages In This Thread
Disable command - by ServerFiles - 20.08.2018, 02:32
Re: Disable command - by Shinja - 20.08.2018, 03:41
Re: Disable command - by ServerFiles - 20.08.2018, 05:04
Re: Disable command - by Shockey HD - 20.08.2018, 05:14
Re: Disable command - by ServerFiles - 20.08.2018, 05:21
Re: Disable command - by Shockey HD - 20.08.2018, 05:27
Re: Disable command - by ServerFiles - 20.08.2018, 05:52
Re: Disable command - by jlalt - 20.08.2018, 05:57
Re: Disable command - by ServerFiles - 20.08.2018, 06:13

Forum Jump:


Users browsing this thread: 4 Guest(s)