COMMAND:radio(playerid, params[])
#3

Quote:
Originally Posted by Schurman
Посмотреть сообщение
pawn Код:
COMMAND:radio(playerid, params[])
{
    new name[MAX_PLAYER_NAME],string[128];
    GetPlayerName(playerid,pname,sizeof(pname));
    if(Leader[playerid] == 3)
    {
        format(string,MAX_PLAYERS, "** Command Chief Master  %s: %s, over **",pname);
        SendClientMessageToAll(0x8F8F8FFF,string);
    }
    else if(Member[playerid] == 3)
    {
        format(string,MAX_PLAYERS, "** Member  %s: %s, over **",pname);
        SendClientMessageToAll(0x8F8F8FFF,string);
    }
    return 1;
}
Thanks!
But no radio message appears at all
And i got this warning
pawn Код:
pwn(485) : warning 204: symbol is assigned a value that is never used: "name"
on
pawn Код:
new name[MAX_PLAYER_NAME],string[128];
I solved it with
pawn Код:
playername3
but there is no radio message, the code does do nothing...hmm
Reply


Messages In This Thread
COMMAND:radio(playerid, params[]) - by cruising - 04.04.2011, 21:43
Re: COMMAND:radio(playerid, params[]) - by SchurmanCQC - 04.04.2011, 21:55
Re: COMMAND:radio(playerid, params[]) - by cruising - 04.04.2011, 22:10
Re: COMMAND:radio(playerid, params[]) - by SchurmanCQC - 04.04.2011, 22:11
Re: COMMAND:radio(playerid, params[]) - by cruising - 04.04.2011, 22:15
Re: COMMAND:radio(playerid, params[]) - by Donya - 04.04.2011, 22:38
Re: COMMAND:radio(playerid, params[]) - by cruising - 04.04.2011, 22:53
Re: COMMAND:radio(playerid, params[]) - by Donya - 05.04.2011, 02:17
Re: COMMAND:radio(playerid, params[]) - by cruising - 05.04.2011, 02:31

Forum Jump:


Users browsing this thread: 2 Guest(s)