31.10.2015, 09:09
I don't want to create anything big and fancy at the moment, I'm just releasing scripts people have asked for or requested help on a script in exact relation in order to give them a little hand.
Plus, a virtual date has nothing to do with one's knowledge. You could be an oldie and know nothing, wouldn't make a difference. Not to mention that I have been registered here longer than you in other instants, but hey, thanks!
It's a hooked function. It does the exact same thing as the default function but stores the new interior id of the vehicle in a variable, making it possible to create a function such as "GetVehicleInteriorID();" as it is needed for the script and does not exist by default.
Plus, a virtual date has nothing to do with one's knowledge. You could be an oldie and know nothing, wouldn't make a difference. Not to mention that I have been registered here longer than you in other instants, but hey, thanks!
Quote:
Why to hook a filterscript?
Код:
stock Hook_LinkVehicleToInterior(vehicleid, interiorid) { vhInterior[vehicleid] = interiorid; return LinkVehicleToInterior(vehicleid, interiorid); } #if defined _ALS_LinkVehicleToInterior #undef LinkVehicleToInterior #else #define _ALS_LinkVehicleToInterior #endif #define LinkVehicleToInterior Hook_LinkVehicleToInterior |