I also want to add some custom vehicles and i have everything already configured but wont load in game, the resource loads fine what am i doing wrong? this is what i've got:
function installAuto ( startedResource )
if ( startedResource == getThisResource() ) then
outputChatBox ( "warthog" )
txd = engineLoadTXD ( "data/bfinject.txd" )
engineImportTXD ( txd, 520 )
dff = engineLoadDFF ( "data/bfinject.dff", 520 )
engineReplaceModel ( dff, 520 )
end
end
addEventHandler ( "onClientResourceStart", getRootElement(), installAuto )
EDIT*** just changed the id numbers for the model so it should work now if not ill say ;]