SA-MP Forums Archive
Track car not working? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Track car not working? (/showthread.php?tid=313793)



Track car not working? - RLGaming - 27.01.2012

Okay so when i do /trackcar to find my vehicle it say's your vehicle is currently located in .

It doesn't say where it just say's dot..



Quote:

CMD:trackcar(playerid, params[])
{
new vstring[1024];
for(new i; i < MAX_PLAYERVEHICLES; i++)
{
if(PlayerVehicleInfo[playerid][i][pvId] > INVALID_PLAYER_VEHICLE_ID)
format(vstring, sizeof(vstring), "%s\n%s", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);

else if(PlayerVehicleInfo[playerid][i][pvImpounded] == 1)
format(vstring, sizeof(vstring), "%s\n%s (impounded)", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]);

else
format(vstring, sizeof(vstring), "%s\nEmpty", vstring);
}
ShowPlayerDialog(playerid, TRACKCAR, DIALOG_STYLE_LIST, "Vehicle GPS Tracking", vstring, "Track", "Cancel");
return 1;
}

That's the code..

Any idea's how to get the location working?


Re: Track car not working? - RLGaming - 28.01.2012

Hello.. anybody?


Re: Track car not working? - Silentfood - 28.01.2012

Show us the TRACKCAR dialogue.