[Ajuda] /darvida [id] [vida]
#3

Quote:
Originally Posted by @Riichard
Посмотреть сообщение
Tente..
pawn Код:
CMD:darvida(playerid, params[])
{
    new
        ID,
        Vida
    ;
   
    if(sscanf(params, "id", ID, Vida))
        return SendClientMessage(playerid, -1, "Use: /darvida [id] [vida]");
       
    if(!IsPlayerConnected(ID))
        return SendClientMessage(playerid, -1, "Este jogador nгo estб conectado");

    SetPlayerHealth(ID, Vida);
   
    return true;
}
Vlw por ter me ajudado.Deu certo esse comando.
Reply


Messages In This Thread
/darvida [id] [vida] - by Mateus_. - 10.03.2013, 00:35
Re: /darvida [id] [vida] - by @Riichard - 10.03.2013, 00:40
Re: /darvida [id] [vida] - by Mateus_. - 10.03.2013, 00:53
Re: /darvida [id] [vida] - by Sky™ - 10.03.2013, 01:03
Re: /darvida [id] [vida] - by @Riichard - 10.03.2013, 01:08
Re: /darvida [id] [vida] - by Sky™ - 10.03.2013, 01:09
Re: /darvida [id] [vida] - by @Riichard - 10.03.2013, 01:10
Re: /darvida [id] [vida] - by Abravanel - 10.03.2013, 01:12
Re: /darvida [id] [vida] - by LuxuN - 10.03.2013, 01:22
Re: /darvida [id] [vida] - by feliphemort - 10.03.2013, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)