02.11.2015, 20:05
im always geting fist message car isnt near
Код:
if(IsPlayerInCheckpointEx(playerid, cpid))
{
new Float: P[3];
GetPlayerPos(playerid,P[0],P[1],P[2]);
for(new v; v < MAX_VEHICLES; v++)
{
if(GetVehicleDistanceFromPoint(v,P[0],P[1],P[2])<= Radius) return SendClientMessage(playerid, -1, "Car isnt near");
{
SendClientMessage(playerid, -1, "Car near you. you can do what you wanna ");
DisablePlayerCheckpointEx(playerid, 0);

