Započeo Daki_Kensey
•22. Apr. 2014.• ZaključanoPOMOC treba mi skripta za pljackanje bankomata i za pljadcku banke
354
pregleda
3
postova
22. Apr. 2014.
AKO zna neko link gde mogu da skinem da ubacm za pljacku bankomata i banke,konkretan da ne trazim ja posto sam dugo trazio i ne mogu da nadjem... 😄
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
136
Postovi:
24
Teme:
Pridružio se:Mar. 2013
23. Apr. 2014.
Dakle sve ti pise unutra samo tako uradi
Evo ti samo si stavi dobar int za banku jer neznam koji koristis ako je isti onda je sve uredu ali ako je pogresan moras promijenit kordinate Checkpointa .
new RobBankTimer; //Na vrh medju new stavi to
PlayerInfo = 0; //Ovo medju PlayerInfo stavi
//Ovo ispod stavi negde medju komande
if(strcmp(cmd, "/robbank", true) == 0)
{
new success = random(2);
if(BankRobbedRecently == 1)
{
SendClientMessage(playerid, COLOR_GREY, "* This location was robbed recently, try again later");
return 1;
}
if(PlayerInfo >= 1)
{
SendClientMessage(playerid, COLOR_GREY, "* You already attempted or robbed a place recently, please wait.");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 2, 2309.6060,-4.0211,26.7422))
{
if(GetPlayerWeapon(playerid) >= 24 && GetPlayerWeapon(playerid) <= 40)
{
if(PlayerInfo == 0)
{
if(success == 1)
{
SendClientMessage(playerid, COLOR_ORANGE, "* You are now Robbing the city Hall, please remain in the checkpoint for 95 Seconds!");
RobbingTime = 95;
RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
WantedPoints = 5;
SetPlayerCriminal(playerid,255, "Robbing the Bank");
PlayerInfo = 900;
CityHallRobbedRecently = 1;
SetTimer("UnsetBankRob",1500000,false);
OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout
}
else
{
SendClientMessage(playerid, COLOR_ORANGE, "* Nisi uspeo da opljackas banku!");
WantedPoints = 2;
SetPlayerCriminal(playerid,255, "Attempting to rob the Bank");
PlayerInfo = 500;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "* Iskljucite duznost prvo!");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "* Treba vam neko dobro oruzije za pljacku!");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "* Niste na mestu pljacke!");
return 1;
}
return 1;
}
//Ovo dole stavi medju Public negde to je na kraj skripte :D
public RobBank(playerid)
{
new string;
if(IsPlayerInRangeOfPoint(playerid, 2, 2309.6060,-4.0211,26.7422))
{
if(RobbingTime > 0)
{
RobbingTime --;
GameTextForPlayer(playerid, "~w~Pricekajte za otvaranje kase ~r~Za novac ~w~do kraja vremena!", 1000,4);
}
else
{
RobbingTime = 0;
KillTimer(RobBankTimer);
new money = random(2500);
SafeGivePlayerMoney(playerid, money);
format(string, sizeof(string),"~w~Opljackali ste ~g~$%d ~w~Iz ~y~Banke!", money);
GameTextForPlayer(playerid, string, 6000, 4);
format(string, sizeof(string),"* Opljackali ste $%d Iz Banke!",money);
SendClientMessage(playerid, COLOR_GREY, string);
WantedPoints = 10;
SetPlayerCriminal(playerid,255, "Opljackana Banka");
}
}
else
{
GameTextForPlayer(playerid, "~w~Napustio si Checkpoint!", 1000,4);
RobbingTime = 0;
KillTimer(RobBankTimer);
}
}Evo ti samo si stavi dobar int za banku jer neznam koji koristis ako je isti onda je sve uredu ali ako je pogresan moras promijenit kordinate Checkpointa .
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava