08.02.2014, 18:21
hello i need help in my new script
Line 253:
error
please really i need help and ASAP !!
full cmd
thanks in advance
Line 253:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 12.0, 2782.3027,-2019.0826,13.5547));
Код:
E:\GAMES\Omar\tests\mytest5\BK MCRP\filterscripts\BB.pwn(253) : error 036: empty statement
full cmd
pawn Код:
if (strcmp("/ball", cmdtext, true, 6) == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
DestroyObject(Ball);
Ball = CreateObject(2114, x+random(3), y+random(3), z-0.8, 0, 0, 96);
SendClientMessage(playerid,-1,"You started a basketball match, Play with your friends !!");
if(IsPlayerInRangeOfPoint(playerid, 12.0, 2782.3027,-2019.0826,13.5547));
else return SendClientMessage(playerid,-1,"ERROR: You are not in the basketball field!");
return 1;
}
return 0;
}