SA-MP Forums Archive
[Pedido] Comando Imortal - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Comando Imortal (/showthread.php?tid=452457)



Comando Imortal - lekinho911 - 21.07.2013

Alguem tem o comando pro player ficar imortal ?


Re: Comando Imortal - TheKoDaK - 21.07.2013

pawn Код:
if(strcmp(cmdtext, "/imortal", true) == 0)
    {
    SetPlayerHealth(playerid,99999);
    new message[265];
    new pname[30];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(message, sizeof(message), "{FFFFFF} %s Se Esta Imortal!", pname);
    SendClientMessageToAll(Amarelo,message);
    GameTextForPlayer(playerid,"~r~Imortal!!!",4000,1);
    return 1;
    }



Re: Comando Imortal - godkrad - 21.07.2013

SetPlayerHealth(playerid, 99999);


Re: Comando Imortal - darkxdll - 21.07.2013

PHP код:
CMD:imortal(playerid)
{
SetPlayerHealth(playerid,99999);//acho q й cinco '9' pra ficar imortal...
return 1;

xD