Započeo Mrki 789
•5. Mar. 2012.• Zaključano[POMOC] /qf
617
pregleda
7
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
72
Postovi:
28
Teme:
Pridružio se:Jun 2011
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):
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;
}Made Man
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
374
Postovi:
40
Teme:
Pridružio se:Nov. 2010
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
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
344
Postovi:
45
Teme:
Pridružio se:Feb. 2012
5. Mar. 2012.
Mrki 789 wrote on March 5, 2012, 7:13 pm:
Sta da stavim onda umjesto sendradiomessage?
pa nista :S samo izbrises
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