Special task?
I want to have a function, which does in a small way change the light of the map, I thought about using set_task with that, but then, I would need to make all the letters from a-z (set_lights) with set_task, is there another easy way?
|
Re: Special task?
I don't understand what you mean...
|
Re: Special task?
If I want that the light should go slightly to dark, something like that:
PHP Code:
|
Re: Special task?
I got it now, will think about this.
EDIT: This works, but it sets the light to the brighest first. Maybe you can work with this: PHP Code:
|
Re: Special task?
I don't really understand what you are trying to do but, just to offer more options:
You can use looped sequenced lights: Code:
set_lights("aaaaaaaaaaabcdeeeeeefg")Or if you just want to increase or decrease lightning: Code:
#include <amxmodx>Ex: adjustLights(1) increases the light level by 1 adjustLights(-5) decreases the light level by 5 adjustLights(0) resets light level to map default. |
| All times are GMT -4. The time now is 14:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.