SA-MP Forums Archive
ProxDetector Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ProxDetector Problem (/showthread.php?tid=196213)



ProxDetector Problem - pojefauzan - 05.12.2010

First, I did this

Код:
forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	new string[128];
	new sendername[MAX_PLAYER_NAME];
	if (strcmp(cmdtext, "/engine", true) == 0)
	{
		if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GRAD1,"You are not in a vehicle!");
		if(PlayerInfo[playerid][pMask] == 1)
		{
  			format(string, sizeof(string), "* Stranger is attempting to start the engine.");
		}
		else
		{
			format(string, sizeof(string), "* %s attempts to start the vehicle's engine.", sendername);
		}
		ProxDetector(30.0, playerid, string, COLOR_PURPLES,COLOR_PURPLES,COLOR_PURPLES,COLOR_PURPLES,COLOR_PURPLES);
		SetTimerEx("EngineStart", 3000, false, "d", playerid);
		return 1;
	}
	return 0;
}
Then, i got this error
Код:
(232) : error 004: function "ProxDetector" is not implemented
(258) : error 004: function "ProxDetector" is not implemented
(268) : error 004: function "ProxDetector" is not implemented
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.