1. Post #1

    March 2012
    3 Posts
    Hello guys , well i have a problem running my server in multiplayer ( voice server ) ,
    i get some LUA errors that i never had :/

    here is the lua errors



    ( Not THe ULX , Its Something Else, Well This Lines:

    Trying To Open " Q Menu " ( Inventory , Character Skills Area )

    Code:
    function GM:OnSpawnMenuOpen()
    	if !LocalPlayer().Data then return end
    	GAMEMODE.MainMenu = GAMEMODE.MainMenu or vgui.Create("mainmenu")
    	GAMEMODE.MainMenu:Center()
    	GAMEMODE.MainMenu:SetTargetAlpha(255)
    	GAMEMODE.MainMenu.Frame:SetVisible(true)
    	gui.EnableScreenClicker(true)
    	RestoreCursorPosition()
    	GAMEMODE.MainMenu.PlayersTab:LoadPlayers()
    	GAMEMODE.MainMenu.InventoryTab:ReloadAmmoDisplay()
    	GAMEMODE.MainMenu.CharacterTab:LoadHeader()
    	GAMEMODE.MainMenu.CharacterTab:LoadMasters()
    end
    Line 59 Error
    Code:
    	GAMEMODE.MainMenu.InventoryTab:ReloadAmmoDisplay()
    When You Log Into This Server

    Code:
    if SERVER then
    	hook.Add("PlayerSpawn", "PlayerSpawn_Stats", function(ply)
    		for name, stat in pairs(GAMEMODE.DataBase.Stats) do
    			if ply.Stats then
    				ply:SetStat(name, ply:GetStat(name))
    				if stat.OnSpawn then
    					stat:OnSpawn(ply, ply:GetStat(name))
    				end
    			end
    		end
    		ply:AddStat("stat_agility", ply.ToMakeUpAgility or 0)
    		ply.ToMakeUpAgility = 0
    	end)
    end
    
    if CLIENT then
    	usermessage.Hook("UD_UpdateStats", function(usrMsg)
    		LocalPlayer():SetStat(usrMsg:ReadString(), usrMsg:ReadLong())
    	end
    Line 49 Error

    Code:
    		LocalPlayer():SetStat(usrMsg:ReadString(), usrMsg:ReadLong())
    Thanks , Schiaffino

    (User was banned for this post ("Wrong section" - Gran PC))
    Reply With Quote Edit / Delete Windows 7 Chile Show Events Disagree Disagree x 1 (list)

  2. Post #2

    June 2012
    16 Posts
    You can only use evolve with underdone otherwise you get that ^
    Reply With Quote Edit / Delete Windows XP Australia Show Events