• Strange error...
    5 replies, posted
Hello, on my server I have f2s stronghold, and clients are getting an error on the following line. [code] net.Receive( "sh_gameending", function( intMsgLen ) GAMEMODE.GameOverTime = CurTime() GAMEMODE.GameOverRealTime = RealTime() LocalPlayer():SendMessage( "Game over!" ) -- HERE! end ) [/code] It says SendMessage is a nil value I have not touched this file, neither do I get the error, it says that clients get the error in clientside_errors.txt It is the file cl_networking.lua
SendMessage isn't a default function. Try replacing it with PrintMessage.
-snip- Too late write
[QUOTE=code_gs;48645612]SendMessage isn't a default function. Try replacing it with PrintMessage.[/QUOTE] I had thought about that, but wanted a second opinion, do you know if SendMessage has ever been a default function? If so, it might explain why it was used.
No, but there's this: [url]https://facepunch.com/showthread.php?t=1421205&p=45835066&viewfull=1#post45835066[/url]
[QUOTE=code_gs;48645654]No, but there's this: [url]https://facepunch.com/showthread.php?t=1421205&p=45835066&viewfull=1#post45835066[/url][/QUOTE] Thanks for your help.
Sorry, you need to Log In to post a reply to this thread.