SolvedMOTDgd Addon Ad skipper

Posts 1–9 of 9 · Page 1 of 1
MOTDgd Addon Ad skipper
How do I edit this so when it detects addons\motdgdadverts it runs the function?
Code:
function MOTDgd.GetIfSkip()
	chat.AddText( "Ad skipped" )
	return true	
end
/Moved to the correct section.
run something to receive net messages.
once you have the message about the motd / ad / whateverthefuck use some sick codens to not view it
Quote Originally Posted by thecoolpenguin View Post
run something to receive net messages.
once you have the message about the motd / ad / whateverthefuck use some sick codens to not view it
I have the "sick codens" but I don't know how to do the receive net messages part :/

When I run this on a server with motdgd it works fine, but when I join a server without it I get script errors for it not recognizing the function
Quote Originally Posted by polivilas View Post
if MOTDgd then
if MOTDgd then return true while end if true then do __asmfastcall("RMV_ADS")
Quote Originally Posted by tacoman452 View Post
How do I edit this so when it detects addons\motdgdadverts it runs the function?
Code:
function MOTDgd.GetIfSkip()
chat.AddText( "Ad skipped" )
return true	
end
Quote Originally Posted by polivilas View Post
if MOTDgd then

Thanks for all the help, this worked out great
Here's the code if anyone wants it

Code:
if MOTDgd then
function MOTDgd.GetIfSkip()
chat.AddText( "Ad skipped" )
return true
end
end
Thanks I'll be sure to try this out later
/Solved & closed.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us