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
but there is no radio message, the code does do nothing...hmm