little problem
#7

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
Show us the whole "DepartmentChat" stock/public.
there is it but ... this is working on other cmd-s / scripts
for example :
format(mes, sizeof(mes), "(POLICE RADIO) %s[%d] BlaBla Text Hidden.", Name2(playerid),tmp);
DepartmentChat(CINFO,mes);
==============
BTW THERE IS IT ========
stock DepartmentChat(color,mess[],Medic = 1,DOD = 1, DOI = 1, FBI = 1,Mayor = 1)
{
for(new idxf=0, i=0; idxf<cvector_size(players); idxf++)
{
i = cvector_get(players, idxf);
if(!IsPlayerConnected(i) || !pData[i][pFraction] || pData[i][pJail]) continue;
new fraction = pData[i][pFraction];
if(Medic && fraction == 2 || DOD && fraction == 8 || DOI && fraction == 9 || FBI && fraction == 11 || Mayor && fraction == 15)
{
SendClientMessage(i,color,mess);
}
}
}
Reply


Messages In This Thread
little problem - by georgian1 - 13.01.2015, 22:10
Re: little problem - by Ciarannn - 14.01.2015, 00:39
Re: little problem - by georgian1 - 14.01.2015, 18:37
Re: little problem - by Ciarannn - 14.01.2015, 20:04
Re: little problem - by georgian1 - 14.01.2015, 20:35
Re: little problem - by xVIP3Rx - 14.01.2015, 20:39
Re: little problem - by georgian1 - 14.01.2015, 20:46
Re: little problem - by xVIP3Rx - 14.01.2015, 20:49
Re: little problem - by georgian1 - 14.01.2015, 20:50

Forum Jump:


Users browsing this thread: 1 Guest(s)