[Pomoc]Plata-respekti

Započeo dakias
20. Jan. 2013. Zaključano
399
pregleda
7
postova
Daki
3
Hustler
20. Jan. 2013.
Skripta: Euro Gaming (EGRP)
Problem: Plata stize ali ne stizu respekti,neznam u cemu je problem ako neko moze pomoci
Slike: 1.Pre plate stats: http://www.dodaj.rs/f/1V/r3/8TwkduI/sa-mp-504.png Plata: http://www.dodaj.rs/f/3R/ew/3Ynu2Pfy/sa-mp-505.png Nakon plate stats: http://www.dodaj.rs/f/1l/QA/2iYN2DGW/sa-mp-506.png
Dio skripte:
Daki
3
Hustler
20. Jan. 2013.
public PayDay()  // PLATA
{
new string;
foreach (Player, i)
{
new playername2;
GetPlayerName(i, playername2, sizeof(playername2));
    if(PlayerInfo == 2) // ako nije na vreme podigao platu
{
if (PlayerInfo == 1)
{
PlayerInfo = 0;
SendClientMessage(i, COLOR_LIGHTRED, "Niste platili racune, platite ih ili idete u zatvor.");
}
}
    if(PlayerInfo == 3) // ako nije na vreme podigao platu
{
if (PlayerInfo == 1)
{
PlayerInfo = 0;
SendClientMessage(i, COLOR_LIGHTRED, "Niste platili racune, platite ih ili idete u zatvor.");
}
}
    if(PlayerInfo == 4) // ako nije na vreme podigao platu
{
if (PlayerInfo == 1)
{
PlayerInfo = 0;

SendClientMessage(i, COLOR_LIGHTRED, "Niste platili racune, idete u zatvor.");
GameTextForPlayer(i, "~r~Uhapsen!", 2000, 1);
new rand = random(sizeof(gRandomJailSpawns));
SetPlayerPos(i, gRandomJailSpawns, gRandomJailSpawns, gRandomJailSpawns);
PlayerInfo = 1;
SafeJBC_ResetPlayerWeapons(i);
WantedPoints = 0;
PlayerInfo = 100;
format(string, sizeof(string), "Uhapseni ste na %d sekundi.  Kaucija: Nedostupna", PlayerInfo);
SendClientMessage(i, COLOR_WHITE, string);
}
}

if(PlayerInfo >= 5) // ako ispunjava uslove za platu
{
if(MoneyMessage==1)
{
SendClientMessage(i, COLOR_LIGHTRED, "Niste uspjeli da vratite dug, idete u zatvor.");
GameTextForPlayer(i, "~r~Uhapsen!", 2000, 1);
new rand = random(sizeof(gRandomJailSpawns));
SetPlayerPos(i, gRandomJailSpawns, gRandomJailSpawns, gRandomJailSpawns);
PlayerInfo = 1;
SafeJBC_ResetPlayerWeapons(i);
SafeJBC_ResetPlayerMoney(i);
WantedPoints = 0;
PlayerInfo = 240;
format(string, sizeof(string), "Uhapseni ste na %d sekundi.  Kaucija: Nedostupna", PlayerInfo);
SendClientMessage(i, COLOR_WHITE, string);
}
Blaeks_Biofor
5
Forum Don
20. Jan. 2013.
public PayDay()  // PLATA
{
  new string;
  foreach (Player, i)
  {
    new playername2;
  GetPlayerName(i, playername2, sizeof(playername2));
      if(PlayerInfo == 2) // ako nije na vreme podigao platu
      {
        if (PlayerInfo == 1)
        {
        PlayerInfo = 0;
        SendClientMessage(i, COLOR_LIGHTRED, "Niste platili racune, platite ih ili idete u zatvor.");
        }
      }
      if(PlayerInfo == 3) // ako nije na vreme podigao platu
      {
        if (PlayerInfo == 1)
        {
        PlayerInfo = 0;
        SendClientMessage(i, COLOR_LIGHTRED, "Niste platili racune, platite ih ili idete u zatvor.");
        }
      }
      if(PlayerInfo == 4) // ako nije na vreme podigao platu
      {
        if (PlayerInfo == 1)
        {
        PlayerInfo = 0;

      SendClientMessage(i, COLOR_LIGHTRED, "Niste platili racune, idete u zatvor.");
      GameTextForPlayer(i, "~r~Uhapsen!", 2000, 1);
      new rand = random(sizeof(gRandomJailSpawns));
      SetPlayerPos(i, gRandomJailSpawns, gRandomJailSpawns, gRandomJailSpawns);
      PlayerInfo = 1;
      SafeJBC_ResetPlayerWeapons(i);
      WantedPoints = 0;
      PlayerInfo = 100;
      format(string, sizeof(string), "Uhapseni ste na %d sekundi.  Kaucija: Nedostupna", PlayerInfo);
      SendClientMessage(i, COLOR_WHITE, string);
        }
      }

      if(PlayerInfo >= 5) // ako ispunjava uslove za platu
      {
      if(MoneyMessage==1)
      {
      SendClientMessage(i, COLOR_LIGHTRED, "Niste uspjeli da vratite dug, idete u zatvor.");
      GameTextForPlayer(i, "~r~Uhapsen!", 2000, 1);
      new rand = random(sizeof(gRandomJailSpawns));
      SetPlayerPos(i, gRandomJailSpawns, gRandomJailSpawns, gRandomJailSpawns);
      PlayerInfo = 1;
      SafeJBC_ResetPlayerWeapons(i);
      SafeJBC_ResetPlayerMoney(i);
      WantedPoints = 0;
      PlayerInfo = 240;
      PlayerInfo ++;
      format(string, sizeof(string), "Uhapseni ste na %d sekundi.  Kaucija: Nedostupna", PlayerInfo);
      SendClientMessage(i, COLOR_WHITE, string);
      }
Daki
3
Hustler
20. Jan. 2013.
Kad sam probao da ubacim tu platu blaeks evo sta je bilo 26 errora i nemogu pokrenuti mod na kucni server 😄

1. http://prntscr.com/psr5k
2. http://prntscr.com/psr98
Daki
3
Hustler
20. Jan. 2013.
Neznam do cega je ali sada nemogu pokrenuti mod na kucnom serveru.
Blaeks_Biofor
5
Forum Don
20. Jan. 2013.
ama ne mlatite, ti si mi dao pola publica, ja sam trazio ceo, i posto public nije potpun imas errore, ubuduce daj cele publice
Daki
3
Hustler
20. Jan. 2013.
Nije bitno opet cu ja srediti lock slobodno 🙂

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha