⚙️TXD
Acompanhe abaixo as nossas exports juntamente com exemplos de funcionamento e as instruções precisas para realizar a exportação de forma correta.
Aplicando a textura no veículo ao entrar:
addEventHandler( 'onVehicleEnter', root, function( player, seat )
local txd = exports['[HS]Textura_Compartilhada']
if seat == 0 and player then
local apply = txd:getIsMemberTextureApl( player, source )
if apply then
txd:setVehicleTexture( source, apply )
end
end
end)
resetID
addEventHandler( 'onPlayerLogin', root, function( )
local txd = exports['[HS]Textura_Compartilhada']
txd:loadTexture( source )
end)
Last updated