[ajuda] Comando Health
#2

Aqui у
pawn Код:
if(strcmp(cmdtext, "/remedio", true) == 0) //Comando
{
  new Float:health; //New para as Variveis
  GetPlayerHealth(playerid,health); //Pega Vida do Player
  if (health < 50.0) // Se For menor que 50 Ele Nгo Funfa
  {
    SetPlayerHealth(playerid, 100.0); // Seta para 100
  }
  return 1;
}
Desculpa Demora to Formatando um PC dai to meio ocupado se nгo for isso eu faзo um melhor apra vocк
Bjusu
Reply


Messages In This Thread
[ajuda] Comando Health - by Rick_DR - 17.04.2010, 16:30
Re: [ajuda] Comando Health - by ipsBruno - 17.04.2010, 16:31
Re: [ajuda] Comando Health - by Rick_DR - 17.04.2010, 17:01
Re: [ajuda] Comando Health - by ipsBruno - 17.04.2010, 17:43
Re: [ajuda] Comando Health - by Rick_DR - 17.04.2010, 17:49
Re: [ajuda] Comando Health - by ipsBruno - 17.04.2010, 17:53
Re: [ajuda] Comando Health - by Rick_DR - 17.04.2010, 17:56
Re: [ajuda] Comando Health - by BiGGaMeS - 17.04.2010, 17:57
Re: [ajuda] Comando Health - by Rick_DR - 17.04.2010, 18:02
Re: [ajuda] Comando Health - by BiGGaMeS - 17.04.2010, 18:10

Forum Jump:


Users browsing this thread: 2 Guest(s)