I need help with OnPlayerToPoint please
#1

Yo i got some fucking errors while compiling this little filterscript, all I want to know is how can I fix this shit ?

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	new cmd[128], idx;
	
	if(!strcmp("/blah", cmdtext, true))
	{
	  if(PlayerToPoint(2.0,1633.2205,-1019.4009,23.8984))
    {
		  SendClientMessage(playerid, COLOR_YELLOW, "blah blah blah blah !");
		  GivePlayerWeapon(playerid,3,1);
	  	SetPlayerInterior(playerid, 0);
	  	SetPlayerPos(playerid, 1602.8052,-1009.7886,23.9063);
      GameTextForPlayer(playerid,"~w~BLAH BLAH ~y~BLAH BLAH ",5000,5);
	    return 1;
	}
	return 0;
}
and I get these errors :

Код:
C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(156) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : warning 215: expression has no effect
C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Toniu\Desktop\YoMama.pwn(158) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply


Messages In This Thread
I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 17:15
Re: I need help with OnPlayerToPoint please - by Rks25 - 20.04.2009, 17:29
Re: I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 17:35
Re: I need help with OnPlayerToPoint please - by Rks25 - 20.04.2009, 17:42
Re: I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 17:46
Re: I need help with OnPlayerToPoint please - by pspleo - 20.04.2009, 17:50
Re: I need help with OnPlayerToPoint please - by *ToM* - 20.04.2009, 20:07
Re: I need help with OnPlayerToPoint please - by ICECOLDKILLAK8 - 20.04.2009, 20:10

Forum Jump:


Users browsing this thread: 2 Guest(s)