Quote:
Originally Posted by Abagail
That is doable through PAWN:
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]; }
You can modify your sampgui.png file. You can also find mods for it using ******, it does exist and is there.
|
Don't you think I already know that? It would be cool if there was a native function for that, though.