- 0
Ajutor /robbank
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Daniel_Dani
[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!
1 answer to this question
Recommended Posts