06.12.2009, 07:10
Change 'PlayerToPoint' to 'IsPlayerInRangeOfPoint', and switch the first 2 parameters
example:
to
example:
pawn Код:
else if(PlayerToPoint(20, playerid, bx[playerid], by[playerid], bz[playerid])){ TextDrawSetString(Meter1[playerid], " i"); TextDrawSetString(Meter3[playerid], " Range");}
pawn Код:
else if(IsPlayerInRangeOfPoint(playerid, 20, bx[playerid], by[playerid], bz[playerid])){ TextDrawSetString(Meter1[playerid], " i"); TextDrawSetString(Meter3[playerid], " Range");}