[ZP] Addon: Custom Lighting Levels !! Updated v1.3 !!
1 Attachment(s)
[ZP] Addon: Custom Lighting Levels [Updated to v1.3] Description: -v1.2 ===> Fixed custom lighting not working on round startThis simple, but yet useful plugin allows you to set different lighting levels for different rounds. It also allows you to set a custom lighting level when the round starts, thus allowing players to navigate through the map and find hiding spots before any game mode starts. Credits: -v1.1 ===> Optimized some code- MeRcyLeZZ ---> For Obviously ZP 4.3 - G-Dog -------> Helped me in the early stages of this plugin Change Log: -v1.0 ===> Initial Release -v1.3 ===> Rewrote the whole plugin Note: - You need to compile the sma file loacally - Dont forget to read the plugins sma file for the description of cvars |
Re: [ZP] Lighting At Start
upload sma only
|
Re: [ZP]Addon: Lighting At Start
Lol? Changing on zp_lighting CVar. Useless.
But anyway, you used so many if and else, why not use switch? Or I'm wrong... |
Re: [ZP]Addon: Lighting At Start
I dont no how to use Switch...
And I just made it for fun Im new at scripting |
Re: [ZP]Addon: Lighting At Start
Quote:
PHP Code:
|
Re: [ZP]Addon: Lighting At Start
thnks G-Dog
Also can someone tell me the difference between "cvars" and "pcvars" |
Re: [ZP]Addon: Lighting At Start
Quote:
EJ cvar : register_cvar(... pcvar : pcvar = register_cvar... get_pcvar_num(pcvar) |
Re: [ZP] Addon: Lighting At Start || Updated v1.1 [Thnx G-Dog]
no problem
basically when using normal cvar natives the plugin has to search through the entire cvar memory table to locate the specified cvar to alter, while a pcvar is a pointer to the location in the memory table for the cvar. As a result pcvars are faster and less resource intensive. Same concept as pointers in c. |
Re: [ZP] Addon: Lighting At Start !! Updated v1.2 !!
Can you make a new version for Zombie Plague Advance 1.6 (assassin, sniper and armageddon mode) ?
|
Re: [ZP] Addon: Lighting At Start !! Updated v1.2 !!
i don't get it
what does this do? |
Re: [ZP] Addon: Lighting At Start !! Updated v1.2 !!
before the game mode starts , the light will be l or m .... when the game started the light back to default in cvar zp_lighting ...
|
Re: [ZP] Addon: Lighting At Start !! Updated v1.2 !!
Since this was my first plugin in this forum, i forgot to update it :oops:
BTW plugin has been updated to v1.3 |
Re: [ZP] Addon: Custom Lighting Levels !! Updated v1.3 !!
Heh A verry nice Plugin! Work GREAT! Thanks! Keep it up!
|
Re: [ZP] Addon: Custom Lighting Levels !! Updated v1.3 !!
Hey i recently downloaded this plugin, but im having some issues. I basically want there to be light in the beginning of every round and as soon as infection starts, i want it to turn dark. The first round worked fine, but the next round after that, its completely dark, and a round after that, it doesn't go dark at all. Can someone help me?
|
Re: [ZP] Addon: Custom Lighting Levels !! Updated v1.3 !!
Not work but i am fix the plugin and now work's great thank's man :D
|
Re: [ZP] Addon: Custom Lighting Levels !! Updated v1.3 !!
Can anyone add new mods (Armagedon, Sniper, Assassin) to this plugin ??!
|
Re: [ZP] Addon: Custom Lighting Levels !! Updated v1.3 !!
Can anyone add new mods (Armagedon, Sniper, Assassin) to this plugin ??!
|
| All times are GMT -4. The time now is 20:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.