De todas formas hay una manera para detectar cuando esta en una maquina de sprunk, hecha por mi
pawn Код:
CercasDeMaquinaSprunk(playerid,rango)
{
for(new i=0;i<sizeof(MaquinasSprunk);i++)if(IsPlayerInRangeOfPoint(playerid,rango,MaquinasSprunk[i][0],MaquinasSprunk[i][1],MaquinasSprunk[i][2]))return 1;
return 0;
}
new Float:MaquinasSprunk [][3] =
{
{-14.703, 1175.359, 18.953},
{-253.742, 2597.953, 62.242},
{201.015, -107.617, 0.898},
{1277.835, 372.515, 18.953},
{-862.828, 1536.609, 21.984},
{2325.976, -1645.132, 14.210},//Sprunk Los Santos
{2352.179, -1357.156, 23.773},
{1928.734, -1772.445, 12.945},
{1789.210, -1369.265, 15.164},
{2060.117, -1897.640, 12.929},
{1729.789, -1943.046, 12.945},
{1154.726, -1460.890, 15.156},
{-1350.117, 492.289, 10.585},
{-2118.968, -423.648, 34.726},
{-2118.617, -422.414, 34.726},
{-2097.273, -398.335, 34.726},
{-2092.085, -490.054, 34.726},
{-2063.273, -490.054, 34.726},
{-2005.648, -490.054, 34.726},
{-2034.460, -490.054, 34.726},
{-2068.562, -398.335, 34.726},
{-2039.851, -398.335, 34.726},
{-2011.140, -398.335, 34.726},
{-1980.789, 142.664, 27.070},
{2503.140, 1243.695, 10.218},
{2319.992, 2532.851, 10.218},
{1520.148, 1055.265, 10.000},
{2085.773, 2071.359, 10.453},
{-2420.179, 985.945, 44.296}, //1302
{-2420.218, 984.578, 44.296}, //1209
{-36.148, -57.875, 1003.632}, //1776
{-17.546, -91.710, 1003.632}, //1776
{-16.531, -140.296, 1003.632}, //1776
{-33.875, -186.765, 1003.632} //1776
};