Stupid radio
#1

Ok... So this has been pising me off for about two days. Civilians can see my radio messages and use my radio. I dont kno why though.

Heres the Code that the radio usews to send it to teams.

pawn Код:
SendMessageToLaw(const str[])
{
for (new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i)) {
if (gteam[i]==Team_FBI || gteam[i]==Team_SFPD || gteam[i]==Team_LVPD || gteam[i]==Team_SASP || gteam[i]==Team_DCP || gteam[i] == Team_DCPT || L1A[i]==1 || gteam[i]==Team_GOV) {
SendClientMessage(i, COLOR_CRIMBLUE, str);
}
}
}
}
But I don't know why it's doing this.... Mabye someone cna help me.... I dont know If I coded it wrong.
Reply


Messages In This Thread
Stupid radio - by [LSR]State_Trooper - 03.04.2010, 07:12
Re: Stupid radio - by dice7 - 03.04.2010, 07:14
Re: Stupid radio - by [LSR]State_Trooper - 03.04.2010, 07:18
Re: Stupid radio - by dice7 - 03.04.2010, 07:23
Re: Stupid radio - by [LSR]State_Trooper - 03.04.2010, 07:28
Re: Stupid radio - by [LSR]State_Trooper - 03.04.2010, 07:29
Re: Stupid radio - by [LSR]State_Trooper - 05.04.2010, 00:42
Re: Stupid radio - by campkz - 05.04.2010, 01:42
Re: Stupid radio - by [LSR]State_Trooper - 05.04.2010, 02:46

Forum Jump:


Users browsing this thread: 1 Guest(s)