function onEnterVehicle ( theVehicle, seat, jacked )
if getElementModel ( theVehicle ) == 522 then
addPedClothes ( source, "moto", "moto", 12 )
end
end
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), onEnterVehicle )
function onExitVehicle ( theVehicle, seat, jacked )
if getElementModel ( theVehicle ) == 522 then
removePedClothes ( source, 12 )
end
end
addEventHandler ( "onPlayerVehicleExit", getRootElement(), onExitVehicle )
function onEnterVehiclepp ( theVehicle, seat, jacked )
if getElementModel ( theVehicle ) == 468 then
addPedClothes ( source, "moto", "moto", 13 )
end
end
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), onEnterVehiclepp )
function onExitVehiclepp ( theVehicle, seat, jacked )
if getElementModel ( theVehicle ) == 468 then
removePedClothes ( source, 13 )
end
end
addEventHandler ( "onPlayerVehicleExit", getRootElement(), onExitVehiclepp )
Za pomoc dam piwo