Jump to content

Frost.DEV

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Frost.DEV's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. I imported the dff and ifp, i delete all of animation to create my animation and create animation but in hour to exports ifp dont show '-
  2. i know i make this but dont show animation when exports
  3. hello im using 3ds max studios 2010 and trying to create animations but when i try to exports dont show my animation: prints: https://imgur.com/a/zqL8lcu
  4. Hello i creating a skin weapon system but dont working to removing a skin dont send debugscript 3 nothing just dont deleting skin my code: (obs: i calling all into server side he can see my skin but can't take this skin just me) ``` local engineSET = {} function SetarSkinAK(localPlayer) engineSET[localPlayer] = {} engineSET[localPlayer][1] = dxCreateShader("texturechanger.fx", 0, 100, false, "ped") engineSET[localPlayer][2] = dxCreateTexture("files/ak1.png") if engineSET[localPlayer][1] and engineSET[localPlayer][2] then dxSetShaderValue(engineSET[localPlayer][1], "TEXTURE", engineSET[localPlayer][2]) engineApplyShaderToWorldTexture(engineSET[localPlayer][1], "T1", localPlayer) end end addEvent( "DarSkin", true) addEventHandler("DarSkin", getRootElement(), SetarSkinAK) function RemoverSkin(localPlayer) destroyElement(engineSET[localPlayer][1]) destroyElement(engineSET[localPlayer][2]) engineSET[localPlayer] = nil end addEvent( "DelSkin", true) addEventHandler("DelSkin", getRootElement(), RemoverSkin) ```
  5. Obrigado. Eu já consegui settar as skins já tá dando mas agora não tá dando pra remover as skins Server-Script remove: function setPlayerItemWeapon(player, weapon) local isWeapon = getPedWeapon(player) if weapon then if weaponStates[player] then exports.SysArmas:removeStickerFromObjectC(player) takeAllWeapons(player) weaponStates[player] = false else weaponStates[player] = true takeAllWeapons(player) if weapon ~= 22 then toggleControl(player, "fire", true ) toggleControl(player, "aim_weapon", true ) giveWeapon (player, tonumber(weapon), (getElementData(player, weaponMuni[weapon]) or 0), true) else giveWeapon (player, tonumber(weapon), _, true) end end end end server side: function removeWeaponStickers(player) triggerClientEvent(getRootElement(), "removeWeaponStickerC", getRootElement(), player) end client side: function removeWeaponStickerC(localPlayer) if localPlayer then if vehiclesWithPaintjob[localPlayer] then destroyElement(vehiclesWithPaintjob[localPlayer][1]) destroyElement(vehiclesWithPaintjob[localPlayer][2]) vehiclesWithPaintjob[localPlayer] = nil end end end addEvent("removeWeaponStickerC",true) addEventHandler("removeWeaponStickerC", getRootElement(), removeWeaponStickerC) ele não tá dando nenhum erro só não tá retirando a skin
  6. Estou tentando adicionar skin na minha arma. eu já tinha um script mas por ter desistido de mta acabei apagando mas a duvida é: 1. como colocar a skin na arma 2. Se tiver que fazer o shade.sx como fazer ele 3. engineApplyShaderToWorldTexture(myShader6, "hk416_d" <- O que significa isto, localPlayer) Code(Just Client): function set() local myShader_raw_data = [[ texture tex; technique replace { pass P0 { Texture[0] = tex; } } ]] local myShader6 = dxCreateShader(myShader_raw_data, 0, 0, false, "ped") -- create shader from raw data local myTexture6 = dxCreateTexture("1.png") -- create texture from image file engineApplyShaderToWorldTexture(myShader6, "hk416_d", localPlayer) dxSetShaderValue(myShader6, "tex", myTexture6) end addCommandHandler('test', set)
×
×
  • Create New...