little problem with my command
#2

pawn Код:
if(strcmp(cmdtext, "/ha", true) == 0)
{
  if(GetPlayerMoney(playerid) >= 10000)
  {
    GivePlayerMoney(playerid, -10000);

    SetPlayerHealth(playerid, 100.0);
    SetPlayerArmour(playerid, 100.0);

    return SendClientMessage(playerid, 0xFFFFFFFF, "Thank you for using the /ha command.Now your armour and your health will be set to 100 (FULL).The cost is 10.000$");
  }
  else return SendClientMessage(playerid, 0xFFFFFFFF, "You need $10000 to use this command.");
}
Reply


Messages In This Thread
little problem with my command - by Face9000 - 29.01.2010, 17:44
Re: little problem with my command - by Finn - 29.01.2010, 17:49
Re: little problem with my command - by Face9000 - 29.01.2010, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)