E ljudi ja sam trazio uvijek komande za teroriste ali ne mogu naci i htio bih da budu /givebomb to da samo radi leader, i clanovi i lideri da mogu stavljati /setbomb foot i car.A bomba da se aktivira sa /aktiviraj ili bilo koja komanda.I zelio bih samo jos jednu komandu a to je /robbank da moze clan neke bande ili leader od 3. ranka mogu krasti novac iz banke i da mogu staviti odredjenu poziciju.Hvala unaprijed ( I MOLIM BEZ VRIJEDJANJA I POSTAVLJANJA LINKOVA S VIRUSOM)
Pa bilo bi lepo da PITAS JOS 100000 PUTA JER SI VEC PITAO ZA ONO 1. Ovako evo ti FS da si malo bolje gledao nasao bi
http://balkan-samp.com/forum/index.php?topic=2823.0 (http://balkan-samp.com/forum/index.php?topic=2823.0)
Dalje sam ispravljaj za lidere :P
Dugo si na ovom forumu i trebao bi se znati snalaziti !
ma znam ali jbg FS je drugo xD ali hajd onda hvala na pomoci :-*
Citat: Luis Mendoza poslato Oktobar 08, 2010, 20:09:59 POSLE PODNE
ma znam ali jbg FS je drugo xD ali hajd onda hvala na pomoci :-*
Tvoj mozak izbaci takav Error da ga ni restart ne moze spasiti! LoL
ovo za bombe znam ali niko mi ne odgovori za banku :(
To ti je osnova na tebi je da izmenis da to moze r3 i to sto zelis srecno 8)
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[playerid][pRobTime] >= 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(PlayerInfo[playerid][pDuty] == 0)
{
if(success == 1)
{
SendClientMessage(playerid, COLOR_ORANGE, "* You are now Robbing the city Hall, please remain in the checkpoint for 95 Seconds!");
RobbingTime[playerid] = 95;
RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
WantedPoints[playerid] = 5;
SetPlayerCriminal(playerid,255, "Robbing the Bank");
PlayerInfo[playerid][pRobTime] = 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, "* You failed to rob the Bank!");
WantedPoints[playerid] = 2;
SetPlayerCriminal(playerid,255, "Attempting to rob the Bank");
PlayerInfo[playerid][pRobTime] = 500;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "* Go Off duty first!");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "* You're not at the Bank Rob Point!");
return 1;
}
return 1;
}
thx davide