/me command
#1

I scripted this /me command but it seems it has one error, can anyone fix it up?
Код:
CMD:me(playerid, params[])
{
	if(isnull(params)) return SendClientMessage(playerid, 0xFF0000FF, "SYNTAX: /me [action]");
	new string[128];
	format(string, sizeof(string), "* %s %s ", GetPlayerName(playerid), params);
	ProxDetector(30.0, playerid, string, 0xFF0000FF);
	return 1;
}
The error below:
C:\Users\homie\Desktop\script\gamemodes\Untitled.p wn(47) : warning 202: number of arguments does not match definition
C:\Users\homie\Desktop\script\gamemodes\Untitled.p wn(47) : warning 202: number of arguments does not match definition
C:\Users\homie\Desktop\script\gamemodes\Untitled.p wn(4 : error 017: undefined symbol "ProxDetector"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
/me command - by Rassh - 21.08.2016, 00:56
Re: /me command - by Shinja - 21.08.2016, 01:21
Re: /me command - by Rassh - 21.08.2016, 14:16
Re: /me command - by Shinja - 21.08.2016, 14:18
Re: /me command - by WhiteGhost - 21.08.2016, 14:18
Re: /me command - by Rix70 - 21.08.2016, 15:37
Re: /me command - by Luis- - 21.08.2016, 15:41
Re: /me command - by NealPeteros - 21.08.2016, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)