Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 13 14 15 16 17 18 Next »
potential timer bug
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
potential timer bug
28-04-2015, 01:33 PM,
#1
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
potential timer bug
for the past day or so i've been trying to network my screens and i thought i was making a mistake until i tried testing the timer and when the print() didn't show i did more tests, it seems the timer doesn't work on screens when used inside the SERVER enviroment. here's what i used


--@name test
--@author T-16

if SERVER then
A = 0

timer.create("testing",0.1,0,function()
A = A + 1
end )

if timer.exists("testing") then
print("exists")
end

else
end

after asking Loc and him not being able to open the chip, i facepalmed and realised that the nonexistance --@sharedscreen had caused this

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
28-04-2015, 06:03 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: potential timer bug
Yeh, --@shared(screen, don't need the screen bit anymore) is needed for the server to do anything.

So I guess this is closed?
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.