Buy armour
#3

pawn Код:
if (strcmp("/buyarmour", cmdtext, true, 10) == 0)
{
  if(GetPlayerMoney(playerid) < 1000)
    return SendClientMessage(playerid, 0xFFFFFFAA, "Poor bastard, Get some money!");

  SetPlayerArmour(playerid, 100.0);
  SendClientMessage(playerid, 0xFFFFFFAA, "Armor for you!");
  GivePlayerMoney(playerid, -1000);
  return 1;
}
Reply


Messages In This Thread
Buy armour - by kimse007 - 28.07.2009, 12:08
Re: Buy armour - by Criss_Angel - 28.07.2009, 12:10
Re: Buy armour - by -Sneaky- - 28.07.2009, 12:13
Re: Buy armour - by kimse007 - 28.07.2009, 12:47
Re: Buy armour - by ronyx69 - 28.07.2009, 12:52
Re: Buy armour - by kimse007 - 28.07.2009, 12:59
Re: Buy armour - by ronyx69 - 28.07.2009, 13:01
Re: Buy armour - by BMUK - 28.07.2009, 13:02
Re: Buy armour - by kimse007 - 28.07.2009, 13:07
Re: Buy armour - by miceiken - 28.07.2009, 13:17

Forum Jump:


Users browsing this thread: 2 Guest(s)