Disabling /kill cmd in 0.3a?
#9

Quote:
Originally Posted by Woet
Quote:
Originally Posted by MaxDSL
If you want to know how to make a kill command just look below:


pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
}
    if (strcmp("/kill", cmdtext, true, 10) == 0)
{
    SetPlayerHealth(playerid,0);
    return 1;
}
They are.. Just try and compile it works for me
At least get your brackets right..

Quote:
Originally Posted by _Ч§hмf†ҐЧ™_
Код:
if(!strcmp(cmdtext,"/kill",true)) {
SetPlayerHealth(playerid,0.0);
return 1;}
How is that faster?

Faster.
Reply


Messages In This Thread
Disabling /kill cmd in 0.3a? - by XoX - 03.06.2010, 19:16
Re: Disabling /kill cmd in 0.3a? - by DeathOnaStick - 03.06.2010, 19:19
Re: Disabling /kill cmd in 0.3a? - by RyDeR` - 03.06.2010, 19:19
Re: Disabling /kill cmd in 0.3a? - by GangsTa_ - 03.06.2010, 19:23
Re: Disabling /kill cmd in 0.3a? - by XoX - 03.06.2010, 19:28
Re: Disabling /kill cmd in 0.3a? - by -Rebel Son- - 03.06.2010, 19:32
Re: Disabling /kill cmd in 0.3a? - by Woet - 03.06.2010, 19:34
Re: Disabling /kill cmd in 0.3a? - by XoX - 03.06.2010, 19:38
Re: Disabling /kill cmd in 0.3a? - by GangsTa_ - 04.06.2010, 05:20

Forum Jump:


Users browsing this thread: 3 Guest(s)