Garry's Mod

Garry's Mod

RP Rockford v2 (Map File Only)
Darth Vader 22. apr. 2017 kl. 11:11
How to put down the map lights
The server has many lags. Surely it is because of the lights. How do I turn them off? I should use the following code:

Turn Off: for k, v pairs (ents.GetAll ()) do if v: GetName () == "1" then v: Fire ("turnoff") end end

But where do I have to put it?
< >
Viser 1-1 af 1 kommentarer
Luxury OT 23. apr. 2017 kl. 8:16 
rippp such bad code.
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50