12.02.2012, 10:55
Everytime i put Float:distance 1.0 it spams 5x "Botname" has reach/goal.
i do not know where to put this code. if i put 0.1 float:distance the printf didn't appear.
here is the code. please help me ASAP
i do not know where to put this code. if i put 0.1 float:distance the printf didn't appear.
here is the code. please help me ASAP
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, -304.9921,1504.3866,75.4736))
{
if(IsPlayerNPC(playerid))
{
printf("xDrifterZx has start his Drift Practice");
}
}
else return 1;
if(IsPlayerInRangeOfPoint(playerid, 1.0, -536.3560,1994.1652,60.3828))
{
if(IsPlayerNPC(playerid))
{
printf("xDrifterZx has goal his Drift Practice");
}
}
else return 1;
return 1;
}