25.06.2012, 19:44
pawn Код:
if(strcmp(tmp, "2", true) == 0)
{
//if(IsVehicleSpawned(veh2[playerid]))
if(veh2[playerid] != 999)
{
new Float:X, Float:Y, Float:Z;
GetVehiclePos(veh2[playerid], X, Y, Z);
vCheck2[playerid] = SetPlayerCheckpoint(playerid, X, Y, Z, 5);
format(string, sizeof(string), "Your %s is at %s.Go to the red mark to get it.", VehicleNames[GetVehicleModel(veh2[playerid])-400], vZone);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
return 1;
}
else
{
format(string, sizeof(string), "Your %s is at %s, and you are in %s, go to %s then use /v find", VehicleNames[GetVehicleModel(veh2[playerid])-400], vZone, pZone, vZone);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
return 1;
}
}