Factions - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Factions (
/showthread.php?tid=499088)
Factions -
CallumDaBest - 06.03.2014
How do i make a faction radio for my factions?
Like i have three factions for so far as testing
ID 1: LSPD
ID 2: FDSA
ID 3: RR
i really want to create a radio for /r and /d
Re: Factions -
BigBrainAFK - 06.03.2014
try something like
pawn Код:
public SendRadioMessage(member, color, string[])
{
foreach(Player, i)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pFaktion] == member)
{
SendClientMessage(i, color, string);
}
}
}
}
Re: Factions -
HK - 06.03.2014
Show me your variables regarding your faction(s).
Re: Factions -
XK - 06.03.2014
let me get home and write the code for you