Robbank command
#2

pawn Код:
if(strcmp(cmd, "/robbank", true) == 0)
{
  new money;
  money = random(100000);
  if(PlayerInfo[playerid][pWantedDeaths] >= 5) return SendClientMessage(playerid, COLOR_GRAD1, "  You Have to big wanted level to rob the bank!");
  if(IsPlayerInRangeOfPoint(playerid,2315.2446,-1.0065,26.7422,10.0)
  {
   SafeGivePlayerMoney(playerid, money);
   //Other stuff...
  }
  else return SendClientMessage(playerid,COLOR_GRAD1,"You are not at the bank!");
  return 1;
}
Reply


Messages In This Thread
Robbank command - by ivanorezac - 25.03.2010, 16:02
Re: Robbank command - by Zimon95 - 25.03.2010, 16:15
Re: Robbank command - by ivanorezac - 25.03.2010, 17:04
Re: Robbank command - by Thrarod - 31.03.2010, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)