Help With some commands
#2

pawn Код:
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
if(GetPlayerWantedLevel(playerid) > 0)
    {
    return SendClientMessage(playerid,0xFF4500AA,"You can't use this command while wanted!");
    }
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, 0xFF4500AA,"You have killed yourself using /kill");
//suicide cmd
return 1;
}
Reply


Messages In This Thread
Help With some commands - by Anup_Rao - 05.04.2012, 14:00
Re: Help With some commands - by blank. - 05.04.2012, 14:04
Re: Help With some commands - by Faisal_khan - 05.04.2012, 14:05
Re: Help With some commands - by Anup_Rao - 05.04.2012, 14:07
Re: Help With some commands - by blank. - 05.04.2012, 14:09
Re: Help With some commands - by Faisal_khan - 05.04.2012, 14:10
Re: Help With some commands - by Anup_Rao - 05.04.2012, 14:11
Re: Help With some commands - by .FuneraL. - 05.04.2012, 14:11
Re: Help With some commands - by blank. - 05.04.2012, 14:12
Re: Help With some commands - by .FuneraL. - 05.04.2012, 14:14

Forum Jump:


Users browsing this thread: 2 Guest(s)