Need help in { /r }
#1

Hello guys , Im facing allot of problems from this command { /r }

SCRIPT::

Код:
CMD:r(playerid, params[])
{
	new string[128];
	if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/r)adio [radio chat]");

	new rank[64];
	switch (PlayerInfo[playerid][pMember])
	{
	case 1:
		{
			switch(PlayerInfo[playerid][pMember])
			{
			case 1: rank = "Sergeant";
			case 2: rank = "Risker";
			case 3: rank = "Captain";
			case 4: rank = "Lieutenant";
			case 5: rank = "Under-Leader";
			case 6: rank = "Leader";
			default: rank = "Trainer";
			}
			format(string, sizeof(string), " %s %s: %s ,over ^", rank, GetPlayerName(playerid), params);
			SendRadioMessage(1, RADIO, string);
			}
	default:
		{
			SendClientMessage(playerid,COLOR_GRAD2,"You're not in a faction.");
			return 1;
		}
	}
	format(string, sizeof(string), "(radio) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	return 1;
}
My Errors::

Код:
C:\Users\BCC\Desktop\ZMRP\gamemodes\ZM-RP.pwn(139) : warning 202: number of arguments does not match definition
C:\Users\BCC\Desktop\ZMRP\gamemodes\ZM-RP.pwn(139) : warning 202: number of arguments does not match definition
C:\Users\BCC\Desktop\ZMRP\gamemodes\ZM-RP.pwn(140) : error 004: function "SendRadioMessage" is not implemented
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
If you know the reason please tell me thanks!!
Reply


Messages In This Thread
Need help in { /r } - by Youice - 29.02.2012, 19:39
Re: Need help in { /r } - by BigD - 29.02.2012, 19:41
Re: Need help in { /r } - by Walsh - 01.03.2012, 12:30
Re: Need help in { /r } - by Youice - 01.03.2012, 16:04
Re: Need help in { /r } - by Youice - 01.03.2012, 19:56
Re: Need help in { /r } - by Youice - 01.03.2012, 20:01

Forum Jump:


Users browsing this thread: 2 Guest(s)