Hi!
How can I replace weapon model only for localplayer who using the item but others can see their model too?
-- Client side --
function GoldAK ()
txd = engineLoadTXD ( "ak47.txd" )
engineImportTXD ( txd, 355 )
dff = engineLoadDFF ( "ak47.dff" )
engineReplaceModel ( dff, 355 )
end
addEvent( "goldAK", true )
addEventHandler( "goldAK", localPlayer, GoldAK )
-- Server side --
if weap == 30 and item == 166 then
triggerClientEvent( "goldAK", root, goldAK )