[POMOC] /qf

Započeo Mrki 789
5. Mar. 2012. Zaključano
591
pregleda
7
postova
Mrki 789
3
Hustler
5. Mar. 2012.
Skripta koju koristim: CLRP
Detaljan opis problema: Znaci ako jedan iz GSF napusti (/qf) onda izadje svim bandama da je napustio, a ja bih namjestio da samo GSF-u dodje.. tak i za PD/FBI/SWAT, neko napusti iz FBI, pokaze se Mayorim, FBI, Swat, MD i ostalim org sa /r i /d ..
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
	if(strcmp(cmd,"/qf",true)==0)
{
    if(IsPlayerConnected(playerid))
    {
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
    SendClientMessage(playerid, COLOR_LIGHTRED,"* Napustili ste organizaciju sada ste civil.");
   
    PlayerInfo = TEAM_GREEN;
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "%s je napustio Organizaciju/mafiju/bandu", sendername);
SendFamilyMessage(PlayerInfo, 0xFF9900AA, string);
format(string, sizeof(string), "%s je napustio Organizaciju/mafiju/bandu", sendername);
SendRadioMessage(7, COLOR_MOJABOJA, string);
    PlayerInfo = 0;
    PlayerInfo = 0;
    PlayerInfo = 0;
    PlayerInfo = 0;
      SetPlayerSkin(playerid, 212);
    }
else if (PlayerInfo != 255)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "*Napustili ste organizaciju sada ste civil !");
                gTeam = 3;
PlayerInfo = 3;
PlayerInfo = 255;
PlayerInfo = 0;
PlayerInfo = 0;
SetPlayerSkin(playerid, 137);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste clan organizacije/mafije");
}
}
return 1;
}
Blaeks_Biofor
5
Forum Don
5. Mar. 2012.
Stavio si
SendRadioMessage
zbog toga ti se pojavljuje na radiu
Cile
4
Made Man
5. Mar. 2012.

if(strcmp(cmd,"/qf",true)==0)
{
    if(IsPlayerConnected(playerid))
    {
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
    SendClientMessage(playerid, COLOR_LIGHTRED,"* Napustili ste organizaciju sada ste civil.");
    PlayerInfo = 0;
    PlayerInfo = 0;
    PlayerInfo = 0;
    PlayerInfo = 0;
      SetPlayerSkin(playerid, 212);
    }
else if (PlayerInfo != 255)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "*Napustili ste organizaciju sada ste civil !");
                gTeam = 3;
PlayerInfo = 3;
PlayerInfo = 255;
PlayerInfo = 0;
PlayerInfo = 0;
SetPlayerSkin(playerid, 137);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste clan organizacije/mafije");
}
}
return 1;
}


eto
Blaeks_Biofor
5
Forum Don
5. Mar. 2012.
On hoce da samo clanovi organizacije vide ko je izasao iz organizacije, to jest neka obrise SendRadioMessage
Mrki 789
3
Hustler
5. Mar. 2012.
Sta da stavim onda umjesto sendradiomessage?
sTrumF
4
Enforcer
5. Mar. 2012.
Mrki 789 wrote on March 5, 2012, 7:13 pm:
Sta da stavim onda umjesto sendradiomessage?

pa nista :S samo izbrises
Deleted User
Obrisan korisnik
5. Mar. 2012.
Mrki 789 wrote on March 5, 2012, 7:13 pm:
Sta da stavim onda umjesto sendradiomessage?
if(strcmp(cmd,"/qf",true)==0)
{
    if(IsPlayerConnected(playerid))
    {
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
    SendClientMessage(playerid, COLOR_LIGHTRED,"* Napustili ste organizaciju sada ste civil.");
   
    PlayerInfo = TEAM_GREEN;
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "%s je napustio Organizaciju/mafiju/bandu", sendername);
SendFamilyMessage(PlayerInfo, 0xFF9900AA, string);
format(string, sizeof(string), "%s je napustio Organizaciju/mafiju/bandu", sendername);
                        PlayerInfo = 0;
    PlayerInfo = 0;
    PlayerInfo = 0;
    PlayerInfo = 0;
      SetPlayerSkin(playerid, 212);
    }
else if (PlayerInfo != 255)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "*Napustili ste organizaciju sada ste civil !");
                gTeam = 3;
PlayerInfo = 3;
PlayerInfo = 255;
PlayerInfo = 0;
PlayerInfo = 0;
SetPlayerSkin(playerid, 137);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Niste clan organizacije/mafije");
}
}
return 1;
}

Ev vako stavi i bice tako ko sto ti hoces 😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha