Quick, small problem.
#5

Код:
C:\Users\Wallew\Desktop\Tazer.pwn(133) : warning 202: number of arguments does not match definition
C:\Users\Wallew\Desktop\Tazer.pwn(133) : warning 202: number of arguments does not match definition
C:\Users\Wallew\Desktop\Tazer.pwn(133) : warning 202: number of arguments does not match definition
C:\Users\Wallew\Desktop\Tazer.pwn(133) : warning 202: number of arguments does not match definition
Код:
public PlayerPlayerActionMessage(playerid,targetid,Float:radius,message[])
{
	new string[128];
	format(string, sizeof(string), "%s %s %s", GetPlayerName(playerid), message,GetPlayerName(targetid)); // Line 133
	ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	return 1;
}
Код:
C:\Users\Wallew\Desktop\Tazer.pwn(141) : warning 202: number of arguments does not match definition
C:\Users\Wallew\Desktop\Tazer.pwn(141) : warning 202: number of arguments does not match definition
Код:
public PlayerActionMessage(playerid,Float:radius,message[])
{
	new string[128];
	format(string, sizeof(string), "%s %s", GetPlayerName(playerid), message); // Line 141
	ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	return 1;
}
Reply


Messages In This Thread
Quick, small problem. - by Perker12345 - 12.01.2010, 00:22
Re: Quick, small problem. - by timmehhh - 12.01.2010, 00:29
Re: Quick, small problem. - by Perker12345 - 12.01.2010, 00:34
Re: Quick, small problem. - by timmehhh - 12.01.2010, 00:41
Re: Quick, small problem. - by Perker12345 - 12.01.2010, 00:44
Re: Quick, small problem. - by timmehhh - 12.01.2010, 00:55
Re: Quick, small problem. - by Perker12345 - 12.01.2010, 01:01

Forum Jump:


Users browsing this thread: 1 Guest(s)