Hi ich wollte ma fragen ob Gmod10 ein LUA update hatte.
Vor 2-3 Monaten hatte ich bei Gmod10 Steam meine eigenen Sweps erstellt.
Und heute als ich ma nach langer zeit Gmod 10 wieder installiert habe wollte ich meine alten sweps einfügen.
Was aber nicht klappte,Deshalb Bräuchte ich hilfe Da die Sweps nicht im Q-Menu angezeigt werden.

PHP-Code:
if ( SERVER then
AddCSLuaFile 
("shared.lua")
SWEP.HoldType            "ar2"
end

if ( CLIENT then
SWEP
.PrintName            "Ak47 Special Ops"
SWEP.Author            "ger580"
SWEP.Slot            4
SWEP
.SlotPos            4
end


SWEP
.base             "weapon_cs_base"
SWEP.Weight            5
SWEP
.AutoSwitchTo        false
SWEP
.Instructions         ""
SWEP.Contact             ""
SWEP.Purpose             ""    
SWEP.DrawAmmo            true
SWEP
.DrawCrosshair        false
SWEP
.ViewModelFOV        0
SWEP
.ViewModelFlip        true
SWEP
.Category                "Misc"
SWEP.ViewModel                "models/weapons/v_rif_ak47so.mdl"
SWEP.WorldModel                "models/weapons/w_rif_ak47so.mdl"
SWEP.Primary.Sound            "sound/weapons/ak47so/ak47-1.wav"
SWEP.Primary.ReloadSound        "sound/weapons/ak47so/mag.out.wav"
SWEP.Primary.Recoil            0.5
SWEP
.Primary.Damage            15
SWEP
.Primary.NumShots            1
SWEP
.Primary.Cone            0.10
SWEP
.Primary.ClipSize            30
SWEP
.Primary.Delay            0.25
SWEP
.Primary.DefaultClip        30
SWEP
.Primary.Automatic            true
SWEP
.Primary.Ammo            "ar2"
SWEP.MoveSpread                4
SWEP
.JumpSpread                8
SWEP
.CrouchSpread            0.05
SWEP
.TracerFreq                5

SWEP
.IronSightsPos Vector (-1.78590, -0.1183)
SWEP.IronSightsAng Vector (-0.02310.87580
So sehen die shared.lua's aus wie gesagt vor 2-3 Monaten ging es noch.


mfg ger580