Help with teamchat threw frequencies
#10

Personally, I would just use a float value for the radio frequency.

pawn Код:
stock SetPlayerFrequentie(playerid)
{
    new str[20];
    Frequency[playerid] = (random(1000) / 100);
    format(str, sizeof(str), "Frequency: %0.2f", Frequency[playerid]);
    SendClientMessage(playerid, COLOR_WHITE, str);
    return 1;
}
Then at the top of your script, or in your enum:
pawn Код:
//New var
new Float:Frequency[MAX_PLAYERS];

//Enum
Float:Frequency[MAX_PLAYERS];
Reply


Messages In This Thread
Help with teamchat threw frequencies - by AIped - 31.05.2014, 09:46
Re: Help with teamchat threw frequencies - by Threshold - 31.05.2014, 10:10
Re: Help with teamchat threw frequencies - by SyntaxQ - 31.05.2014, 10:13
Re: Help with teamchat threw frequencies - by AIped - 31.05.2014, 10:45
Re: Help with teamchat threw frequencies - by Zues - 31.05.2014, 16:26
Re: Help with teamchat threw frequencies - by AIped - 31.05.2014, 16:27
AW: Help with teamchat threw frequencies - by Nero_3D - 31.05.2014, 18:06
Re: Help with teamchat threw frequencies - by LowRyder - 31.05.2014, 18:56
Re: Help with teamchat threw frequencies - by AIped - 31.05.2014, 20:22
Re: Help with teamchat threw frequencies - by Threshold - 01.06.2014, 03:31

Forum Jump:


Users browsing this thread: 1 Guest(s)