Modifier la pos d'un swep

  • Initiateur de la discussion
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Bonsoir

j'aimerai savoir comment modifier la position de ceci : https://prnt.sc/ik2lwl

Code:
SWEP.Contact = ""
SWEP.Author = ""
SWEP.Instructions = "Left Click to attack"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.ViewModelFOV = 70
SWEP.ViewModel = Model("models/props_mining/pickaxe01.mdl")
SWEP.WorldModel = Model("models/props_mining/pickaxe01.mdl")
SWEP.HoldType = "melee"
SWEP.FiresUnderwater = true
SWEP.Primary.Damage = 0
SWEP.base = "crowbar"
SWEP.Primary.ClipSize = -1
SWEP.Primary.DefaultClip = -1
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "none"
SWEP.Primary.Delay = 0.5
SWEP.Weight = 5
SWEP.AutoSwitchTo = false
SWEP.AutoSwitchFrom = false
SWEP.Category = "MSystem"
SWEP.PrintName = "Pioche"
SWEP.Slot = 1
SWEP.SlotPos = 1
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = true
function SWEP:Initialize()
self:SetHoldType( "melee" )
end
function SWEP:SecondaryAttack()
end
function SWEP:Think()
end
function SWEP:PrimaryAttack()
end
end
function SWEP:Deploy() return true
end
function SWEP:Holster() return true
end
Merci de l'aide ;)
 
Makss

Makss

Psychopathe
Messages
830
Score réaction
990
Points
310
Code:
SWEP.ViewModel = Model("models/props_mining/pickaxe01.mdl")
SWEP.WorldModel = Model("models/props_mining/pickaxe01.mdl")
Y'a pas besoin de mettre Model
 
  • J'aime
Réactions: thepsyca
  • Initiateur de la discussion
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Makss à dit:
Code:
SWEP.ViewModel = Model("models/props_mining/pickaxe01.mdl")
SWEP.WorldModel = Model("models/props_mining/pickaxe01.mdl")
Y'a pas besoin de mettre Model
Merci bien mais le soucis reste le même
 
Discord d'entraide
Rejoignz-nous sur Discord