Pomoc oko /banka

Započeo Vaso, Maj 21, 2019, 23:32:23 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Problem(error/warning): ovako posto imam banku u LS i hocu da omogucim banku u LV, kako da cmd /banka radi i u LS banci i u LV, samo naravno na drugim kordinatima, kad sto je na SA npr
Deo skripte:

YCMD:banka(playerid, params[],help)
{
    #pragma unused help
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"MiamiGaming Info :"CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
    if(gettime() < TimerBankaDialog[playerid]) return SCM(playerid, -1, ""CRVENA"INFO | "SIVA"Ovu komandu mozete koristiti svakih 10 sekundi!");
   if(!IsPlayerInRangeOfPoint(playerid, 3.0, 1118.7255,2294.5786,582.4300)) return SCM(playerid,-1,""CRVENA".:: GRESKA ::.."SIVA"Morate biti u banci!");
   if(PlayerInfo[playerid][pBankovniRacun] == 0) return SCM(playerid,-1,"[Banka]: "CRVENA"Nemas otvoren bankovni racun!");
   SPD(playerid,32,DSL,""BELA"Banka",""SPLAVA"(1). "BELA"Ostavi Novac\n"SPLAVA"(2). "BELA"Podigni Novac\n"SPLAVA"(3). "BELA"Transfer Novac\n"SPLAVA"(4). "BELA"Stanje na Bankovnom Racunu\n"SPLAVA"(5). "BELA"Kredit","Odaberi","Izadji");
   TimerBankaDialog[playerid] = gettime() + 10;
   return 1;
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): Nema
Slika/video ingame problema(obavezno ako je ingame problem): Nema

Prosto pored ovih kordinata banke u LS, dodaj kordinate banke u LV
YCMD:banka(playerid, params[],help)
{
    #pragma unused help
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"MiamiGaming Info :"CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
    if(gettime() < TimerBankaDialog[playerid]) return SCM(playerid, -1, ""CRVENA"INFO | "SIVA"Ovu komandu mozete koristiti svakih 10 sekundi!");
   if(!IsPlayerInRangeOfPoint(playerid, 3.0, 1118.7255,2294.5786,582.4300) && !IsPlayerInRangeOfPoint(playerid,3.0, KORDINATE BANKE U LV) return SCM(playerid,-1,""CRVENA".:: GRESKA ::.."SIVA"Morate biti u banci!");
   if(PlayerInfo[playerid][pBankovniRacun] == 0) return SCM(playerid,-1,"[Banka]: "CRVENA"Nemas otvoren bankovni racun!");
   SPD(playerid,32,DSL,""BELA"Banka",""SPLAVA"(1). "BELA"Ostavi Novac\n"SPLAVA"(2). "BELA"Podigni Novac\n"SPLAVA"(3). "BELA"Transfer Novac\n"SPLAVA"(4). "BELA"Stanje na Bankovnom Racunu\n"SPLAVA"(5). "BELA"Kredit","Odaberi","Izadji");
   TimerBankaDialog[playerid] = gettime() + 10;
   return 1;
}

YCMD:banka(playerid, params[],help)
{
    #pragma unused help
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"MiamiGaming Info :"CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
    if(gettime() < TimerBankaDialog[playerid]) return SCM(playerid, -1, ""CRVENA"INFO | "SIVA"Ovu komandu mozete koristiti svakih 10 sekundi!");
   if(!IsPlayerInRangeOfPoint(playerid, 3.0, 1118.7255,2294.5786,582.4300) && !IsPlayerInRangeOfPoint(playerid, 10, 1104.0767,1051.6910,-19.9389)) return SCM(playerid, -1, "Nisi blizu bilborda");
   if(PlayerInfo[playerid][pBankovniRacun] == 0) return SCM(playerid,-1,"[Banka]: "CRVENA"Nemas otvoren bankovni racun!");
   SPD(playerid,32,DSL,""BELA"Banka",""SPLAVA"(1). "BELA"Ostavi Novac\n"SPLAVA"(2). "BELA"Podigni Novac\n"SPLAVA"(3). "BELA"Transfer Novac\n"SPLAVA"(4). "BELA"Stanje na Bankovnom Racunu\n"SPLAVA"(5). "BELA"Kredit","Odaberi","Izadji");
   TimerBankaDialog[playerid] = gettime() + 10;
   return 1;
}

kako da fixam loose indentation Warning, neko ?



Neko lock temuu ?
  ᴢᴀᴊᴇá´...ɴɪá´,,á´‡ :                          
- ᴇʟɪᴛᴇᴢ ɢᴀᴍɪɴɢ
- ʙᴀʟᴋᴀɴá´,,ᴏᴍᴍᴜɴɪᴛʏ
- ʟᴏsá´›á´,,ɪᴛʏ
- Ò"ᴜʀɪᴏᴜs ʀᴏʟᴇᴘʟᴀʏ

          Ò"á´€á´,,ᴇʙᴏᴏᴋ : ʜᴛᴛᴘs://á ́¡á ́¡á ́¡.ò"á´€á´,,ᴇʙᴏᴏᴋ.á´,,ᴏᴍ/ʜᴀᴢᴀʀá´....ᴇɢ.𝟷