Weird error on an /arrest cmd.
#1

What is wrong with this;

Код:
	if(IsPlayerInRangeOfPoint(playerid, 5.0, XX1, YY1, ZZ1))
	{
	    format(string,sizeof(string),"%s(%d) is too far away. You cannot reach him to arrest him.",PlayerName(id),id);
	    SendClientMessage(playerid,-1,string);
	    return 1;
	}
Here are the errors I'm getting,

Код:
C:\Users\School\Desktop\Team DeathMatch\gamemodes\afp.pwn(660) : error 012: invalid function call, not a valid address
C:\Users\School\Desktop\Team DeathMatch\gamemodes\afp.pwn(660) : warning 215: expression has no effect
C:\Users\School\Desktop\Team DeathMatch\gamemodes\afp.pwn(660) : error 001: expected token: ";", but found ")"
C:\Users\School\Desktop\Team DeathMatch\gamemodes\afp.pwn(660) : error 029: invalid expression, assumed zero
C:\Users\School\Desktop\Team DeathMatch\gamemodes\afp.pwn(660) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply


Messages In This Thread
Weird error on an /arrest cmd. - by Socan - 16.11.2012, 21:38
Re: Weird error on an /arrest cmd. - by Socan - 16.11.2012, 21:51
Re: Weird error on an /arrest cmd. - by KiNG3 - 16.11.2012, 21:58
Re: Weird error on an /arrest cmd. - by Socan - 16.11.2012, 22:01
Re: Weird error on an /arrest cmd. - by KiNG3 - 16.11.2012, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)