[ H3LP ] SetLights engine -> fakemeta
Hello. Could anyone help me with a fakemeta version of set_lights ? (EngFunc_LightStyle)
I know I could just do engfunc(EngFunc_LightStyle, 0, "value") where value would be a letter from a to z and then execute the 3 server commands. Problem is that I want to also be able to reset lights to default value by using #OFF as the value just like it works with engine. Original C++ code from engine.cpp PHP Code:
|
Re: [ H3LP ] SetLights engine -> fakemeta
You have no reason to use fakemeta instead of the engine.
Also, engine already does what you want. |
Re: [ H3LP ] SetLights engine -> fakemeta
If engine works then you should use that. There is most often no good reason to convert to anything else if the original works just fine.
|
Re: [ H3LP ] SetLights engine -> fakemeta
It's just going to be a waste of precious time. It doesn't make sense since the engine version it's working correctly.
|
Re: [ H3LP ] SetLights engine -> fakemeta
Will this kind of posts ever stop? GET THIS INTO YOUR HEAD PEOPLE, stop trying to convert one module to another and stop trying to use only one module, you are not gaining anything and in certain cases you can even lose efficiency.
|
Re: [ H3LP ] SetLights engine -> fakemeta
Quote:
|
Re: [ H3LP ] SetLights engine -> fakemeta
Quote:
|
Re: [ H3LP ] SetLights engine -> fakemeta
I see no problem adding another include. It is certain that some have the preference to use only one of the modules, but depending on what you want to do, it is a real waste of time to find another way, being that it already exists.
I particularly use the engine more, and yet I've never come across any performance-related issues. |
Re: [ H3LP ] SetLights engine -> fakemeta
Quote:
|
All times are GMT -4. The time now is 03:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.