Hallo liebe gmodfreunde,
ich habe mir vor einer weile dieses bischen lua geschriben... und es will nicht funktionieren egal was ich mache
Lua Code:
if CLIENT then function DropWeapon( ply, bind ) if string.find(bind, "+drop") then ply:DropWeapon(ply:GetActiveWeapon()) ply:PrintMessage( HUD_PRINTTALK, "Du hast deine Waffe gedropt!" )end
end
hook.Add( "PlayerBindPress", "DropWeapon", DropWeapon )else
AddCSLuaFile( "autorun/client/weapondrop.lua" )
ich hoffe ihr könnt mir helfen! ich blicke nicht mehr durch
PS: das ist nur eine V1
MfG Mentos