16.11.2012, 21:38
What is wrong with this;
Here are the errors I'm getting,
Код:
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; }
Код:
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.