help needed with /kill <id>
#9

Params equal cmdtext.
pawn Код:
if(!strcmp(cmdtext,"/kill"))
{
    new ID;
    if(sscanf(cmdtext, "u", ID)) return SendClientMessage(playerid, -1, "/kill[playerid]");

    SetPlayerHealth(ID,0);
    return true;
}
Reply


Messages In This Thread
help needed with /kill <id> - by speediekiller2 - 04.05.2012, 19:29
Re: help needed with /kill <id> - by ViniBorn - 04.05.2012, 19:33
Re: help needed with /kill <id> - by sleepysnowflake - 04.05.2012, 19:34
Re: help needed with /kill <id> - by speediekiller2 - 04.05.2012, 19:37
Re: help needed with /kill <id> - by ViniBorn - 04.05.2012, 19:39
Re: help needed with /kill <id> - by speediekiller2 - 04.05.2012, 19:40
Re: help needed with /kill <id> - by ViniBorn - 04.05.2012, 19:45
Re: help needed with /kill <id> - by MP2 - 04.05.2012, 19:56
Re: help needed with /kill <id> - by zSuYaNw - 04.05.2012, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)