[Pomoc] /robbank

Započeo Lucic | Digital Hosting, Septembar 25, 2011, 22:34:24 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GTARP
Detaljan opis problema: Ovako Zanima Me Kako da stavim kad kucas /robbank Da neopljacka Odma banku Nego Mora da saceka Da ga freeze I pise sacekaj 15 sekundi I onda ga unfreeze i uzme Pare
Dio skripte: f(strcmp(cmd, "/robbank", true) == 0)
{
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pMember] == 4
|| PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 1
|| PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pLeader] == 7
|| PlayerInfo[playerid][pLeader] == 9 || PlayerInfo[playerid][pLeader] == 10)
    {
SendClientMessage(playerid, COLOR_GREY, "Niste clan Bande/Mafije !");
  return 1;
}
      if(PlayerToPoint(5, playerid,2315.4900,-0.1248,26.7422))
{
if(timesrobbed[playerid] == 1)
{
    SendClientMessage(playerid, COLOR_YELLOW, "Mozete ponovo pljackati nakon 3 sata !");
}
if(timesrobbed[playerid] == 0)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
new robmoney = random(6000);
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 0, 0);
timesrobbed[playerid]+=3;
format(string,sizeof(string), "* %s vadi alat za obijanje i obija sef.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  format(string, sizeof(string), "** Opljackali ste banku i uzeli ste $%d!",robmoney);
    SendClientMessage(playerid,COLOR_YELLOW,string);
GivePlayerMoney(playerid, robmoney);
format(string, sizeof(string), "** Banka je opljackana !. **", sendername);
SendClientMessageToAll(COLOR_RED, "Banka Je Obljackana Molimo Policiju da Uhapse Kriminalca");
SendRadioMessage(1, TEAM_BLUE_COLOR, string);
SendClientMessage(playerid, COLOR_RED, "Sigurnosne kamere su vas snimile !");
SetPlayerColor(playerid, 0x800000FF)
WantedPoints[playerid]+= 6; SetPlayerCriminal(playerid,255, "Pljacka banke!");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Mozete ponovo pljackati nakon 3 sata !");
  return 1;
}
}
return 1;
}



Kako Brate da znam Nebi Odje Pisaooo


http://wiki.sa-mp.com/wiki/SetTimer

ako ne znas ni napraviti obican tajmer nemoj ni raditi RP server  ::)
Citat: ...Neno... poslato Januar 26, 2013, 23:31:02 POSLE PODNE
Poceo sam mapati i tu je doslo do problema.Nakon par mapa,vidio sam post Gottia i kaze da nista nevalja da je katastrofa,i pocnemo se svadjati,psovati.Popusimo bananu obojica,i nakon toga nesto sam napravio (mapu) i Gotti kaze dobra,uh reko opet me zajebava,i saljem ja njemu na pm reko ti mene zajebavas,kaze on ne,i pomirimo se.Nakon toga postali smo dosta dobri

Hvala Gotii Sredio Sam Radio  :D




Odje Moze Lock
Poslednja Izmena: Septembar 26, 2011, 14:37:58 POSLE PODNE od Eric_Mendez