Jump to content

hipolitalakaj

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by hipolitalakaj

  1. 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 )
  2. How can I do it if I want to replace the model only the localplayer who using the item? -- Client -- 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 -- if weap == 30 and item == 166 then triggerClientEvent( "goldAK", root, goldAK )
  3. Hey guys! I want to add some skin to AK-47 (Gold,Case Hardened,etc...) it is possible to clone the original ak-47 item to an another item id? (original id is 30 for sure https://wiki.multitheftauto.com/wiki/Weapons) But I want to add another ak47 model for example: item id 90 and if I give item id 90 to myself then load the ak with the gold dff and txd model. Or is there another way to do this? Thanks for help. (and sorry for my bad eng)
×
×
  • Create New...