Jump to content

Question

Posted

[pawn]if(strcmp(cmd, "/robbank", true) == 0)

{

  new money;

  money = random(100000);

  if(PlayerInfo[playerid][pWantedDeaths] >= 5)

  {

  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) == 1)

  {

  GivePlayerMoney(playerid, money); //Not SafeGivePlayerMoney

  SetPlayerWantedLevel(playerid, 5) //You can change 5

  }

  else

  {

  SendClientMessage(playerid,COLOR_GRAD1,"You are not at the bank!");

  }

  return 1;

}[/pawn]

As vrea sa fac ca aceasta comanda sa mearga numai in banca,sa includa 4 playeri adica unul da /robbank ID1 ID2 ID3

,sa necesite un mp5 in mana pentru a o folosi si sa dea celor care jefuiesc banca wanted 10.

Daca se pricepe cineva va rog ajutor.Va multumesc!

vqqi6h.gif

1 answer to this question

Recommended Posts

Posted

Nu noi iti facem comenzile, tu tile faci si noi te ajutam daca ai probleme.

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.