ProxDetector Problem
#1

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)