moze help

Započeo Dimi123321123
20. Maj 2023. Zaključano
318
pregleda
6
postova
Dimi123321123
4
Shot Caller
20. Maj 2023.
dali moze neko mi posalje cmd Jaill
Maid_Corbic
4
Shot Caller
20. Maj 2023.
YCMD:zatvori(playerid, params[],help)
{
    #pragma unused help
    if(UlogovanProvera == 0) return SCM(playerid,-1,"PG: "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo > 0 || PlayerInfo > 0)
{
new ID, Vreme, Razlog;
if(AdminDuty == 0 && GMDuty == 0) return SCM(playerid,-1,""CRVENA"PG: "SIVA"Morate biti na Admin & GameMaster duznosti!");
if(sscanf(params, "uis", ID, Vreme, Razlog)) return SCM(playerid, -1, ""SPLAVA"Nexus Gaming Pomoc | "BELA"/zatvori [ID/Nick] [Vreme (minuta)] ");
if(!IsPlayerConnected(ID)) return SCM(playerid, -1, ""SPLAVA"ERROR: "BELA"Igrac je offline!");
if(Vreme < 1 || Vreme > 50000) { SCM(playerid, -1, ""SPLAVA"ERROR: "BELA" Vreme ne moze biti manje od 1 a ni vise od 50000 minuta!"); return 1; }
if(PlayerInfo < 1 && PlayerInfo >= 6) return SCM(playerid, -1, ""SPLAVA"ERROR: "BELA"Ne mozete staviti u zatvor Head Admina!");
ResetPlayerWeapons(ID);
SetPlayerPos(ID, 107.2300,1920.6311,18.5208);
SetPlayerWorldBounds(ID, 337.5694,101.5826,1940.9759,1798.7453);
SetPlayerInterior(ID, 0);
TogglePlayerControllable(ID, 0);
freeze = SetTimerEx("Freeze",5000, false, "i", ID);
PlayerInfo = 3;
PlayerInfo += Vreme*60;
new string;
new stringic;
format(string, sizeof(string), ""ORANGE"PG: Zatvorili ste %s u zatvor na %d minuta!.", GetName(ID),Vreme);
SCM(playerid, -1, string);
format(string, sizeof(string), ""ORANGE"PG: Admin %s vas je zatvorio na %d minuta.", GetName(playerid), Vreme);
SCM(ID, -1, string);
format(string, sizeof(string), ""ORANGE": %s.", Razlog);
SCM(ID, -1, string);
format(string, sizeof(string), ""ORANGE"[AREA 51] SC Staff Team je zatvorio igraca %s | Minuti: %d | Razlog: %s",GetName(ID),Vreme,Razlog);
SCMTA(-1, string);
format(stringic, sizeof(stringic), ""ORANGE"Admin %s je zatvorio igraca", GetName(playerid));
Adminp(-1, stringic);
SavePlayer(ID);
}
else return SCM(playerid, -1, ""CRVENA"PG: "SIVA"Samo Admini & GameMasteri!");
return 1;
}
Maid_Corbic
4
Shot Caller
20. Maj 2023.
Dimi123321123 wrote on May 20, 2023, 10:44 am:
dali moze neko mi posalje cmd Jaill


U slucaju da treba ti i da nekoga oslobodis, donekle mozes ovo iskoristiti.
YCMD:zatvorioff(playerid, params[],help)
{
    #pragma unused help
    if(UlogovanProvera == 0) return SCM(playerid,-1,"PG:RP| "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo >= 6 || IsPlayerAdmin(playerid))
{
new ID, Vreme, filee;
if(AdminDuty == 0) return SCM(playerid,-1,""CRVENA"[NG:RPG] "SIVA"Morate biti na Admin & Helper duznosti!");
if(sscanf(params, "si", ID, Vreme)) return SCM(playerid, -1, ""SPLAVA"PG:RPPomoc | "BELA"/zatvorioff [Vreme (minuta)]");
if(Vreme < 1 || Vreme > 50000) { SCM(playerid, -1, ""SPLAVA" "BELA" Vreme ne moze biti manje od 1 a ni vise od 50000 minuta!"); return 1; }
format(filee, sizeof(filee),"Korisnici/%s.ini", ID);
if(!fexist(filee)) return 1;
new string;
format(string, sizeof(string), ""ORANGE"[NG:RPG] Zatvorili ste %s u zatvor na %d minuta!.", ID,Vreme);
SCM(playerid, -1, string);
format(string, sizeof(string), ""ORANGE"Admin %s je off zatvorio igraca %s", GetName(playerid), ID);
Adminp(-1, string);
new INI:File = INI_Open(filee);
INI_SetTag(File,"data");
INI_WriteInt(File,"Zatvor", 3);
INI_WriteInt(File,"ZatvorenVreme", Vreme*60);
INI_Close(File);
}
else return SCM(playerid, -1, ""CRVENA"[NG:RPG] "SIVA"Samo Vlasnik!");
return 1;
}
Dimi123321123
4
Shot Caller
20. Maj 2023.
Maid_Corbic wrote on May 20, 2023, 10:50 am:
U slucaju da treba ti i da nekoga oslobodis, donekle mozes ovo iskoristiti.
YCMD:zatvorioff(playerid, params[],help)
{
    #pragma unused help
    if(UlogovanProvera == 0) return SCM(playerid,-1,"PG:RP| "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
if(PlayerInfo >= 6 || IsPlayerAdmin(playerid))
{
new ID, Vreme, filee;
if(AdminDuty == 0) return SCM(playerid,-1,""CRVENA"[NG:RPG] "SIVA"Morate biti na Admin & Helper duznosti!");
if(sscanf(params, "si", ID, Vreme)) return SCM(playerid, -1, ""SPLAVA"PG:RPPomoc | "BELA"/zatvorioff [Vreme (minuta)]");
if(Vreme < 1 || Vreme > 50000) { SCM(playerid, -1, ""SPLAVA" "BELA" Vreme ne moze biti manje od 1 a ni vise od 50000 minuta!"); return 1; }
format(filee, sizeof(filee),"Korisnici/%s.ini", ID);
if(!fexist(filee)) return 1;
new string;
format(string, sizeof(string), ""ORANGE"[NG:RPG] Zatvorili ste %s u zatvor na %d minuta!.", ID,Vreme);
SCM(playerid, -1, string);
format(string, sizeof(string), ""ORANGE"Admin %s je off zatvorio igraca %s", GetName(playerid), ID);
Adminp(-1, string);
new INI:File = INI_Open(filee);
INI_SetTag(File,"data");
INI_WriteInt(File,"Zatvor", 3);
INI_WriteInt(File,"ZatvorenVreme", Vreme*60);
INI_Close(File);
}
else return SCM(playerid, -1, ""CRVENA"[NG:RPG] "SIVA"Samo Vlasnik!");
return 1;
}
ne trebami YCMD nego CMD
Tebrix
4
Shot Caller
20. Maj 2023.
Dimi123321123 wrote on May 20, 2023, 12:35 pm:
ne trebami YCMD nego CMD

hoš muzičku
Frozen_Capone
5
Crime Lord
20. Maj 2023.
Formular, lock!

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha