01.06.2015, 01:27
That is doable through PAWN:
You can modify your sampgui.png file. You can also find mods for it using ******, it does exist and is there.
pawn Code:
#include <a_samp>
new g_vehicle_int[MAX_VEHICLES];
stock LinkVehicleToInteriorEx(vehicleid, interior)
{
g_vehicle_int[vehicleid] = interior;
return LinkVehicleToInterior(vehicleid, interior);
}
#if defined _ALS_LinkVehicleToInterior
#undef LinkVehicleToInterior
#else
#define _ALS_LinkVehicleToInterior
#endif
#define LinkVehicleToInterior LinkVehicleToInteriorEx
stock SetVehicleToRespawnEx(vehicleid)
{
g_vehicle_int[vehicleid] = 0;
return SetVehicleToRespawn(vehicleid);
}
#if defined _ALS_SetVehicleToRespawn
#undef SetVehicleToRespawn
#else //Else if not defined
#define _ALS_SetVehicleToRespawn
#endif
#define SetVehicleToRespawn SetVehicleToRespawnEx
stock GetVehicleInterior(vehicleid)
{
return g_vehicle_int[vehicleid];
}