/restart
#6

pawn Код:
CMD:restart(playerid,params[])
{
    SendRconCommand("gmx");
    return 1;
}
EDIT:
STRCMP

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/restart", true) == 0)
    {
        SendRconCommand("gmx");
        return 1;
    }
    return 0;
}
??
Reply


Messages In This Thread
/restart - by RiChArD_A - 08.01.2013, 15:26
Re: /restart - by Infinity90 - 08.01.2013, 15:29
Re: /restart - by [FR]Fratzica - 08.01.2013, 15:29
Respuesta: /restart - by RiChArD_A - 10.01.2013, 22:11
Re: Respuesta: /restart - by EAsT-OAK_510 - 10.01.2013, 22:18
Re: /restart - by Threshold - 11.01.2013, 00:02
Re: /restart - by EAsT-OAK_510 - 11.01.2013, 00:05
Respuesta: Re: /restart - by RiChArD_A - 11.01.2013, 00:09
Re: Respuesta: Re: /restart - by EAsT-OAK_510 - 11.01.2013, 00:55

Forum Jump:


Users browsing this thread: 3 Guest(s)