Amx UnConstant Cvar v1.1 (2 - 20 - 05)
1 Attachment(s)
Amx UnConstant Cvar - v1.1, by Suicid3
Description: Amx UnConstant is used to have a cvar switch between different values. With a certain amount of time between each value. Ability to hold any number of values. (But must be set-up in .sma before compile) Commands: (Look below at example commands) amx_unconstant <Cvar> <Value 1> <Value 2> [<Value 3> ...] Must have atleast two values to switch between or it defeats the purpose. amx_constant <Cvar> <Value> Stops changing values and sets the cvar to the value supplied. Cvars: amx_unconst_rate 2.0 The time between unconstant cvar changes.(Don't set too low) amx_unconst_allow_multiples 0 Allows/Disallows the same unconstant cvar to be used simlutaniously Required Modules: None More to Know: //The max number of unconstant cvars #define MAX_UNCONSTANTS 26 //The max number of values for each unconstant cvar #define MAX_VALUES 6 Change log:
Example Commands: Quote:
Quote:
Quote:
Quote:
Using amx_unconstant:
Still don't get it? Let's use for instance sv_gravity. We set the different values at 250 550 300 600 and it will loop through these values. So you're running and you happen to jump (at this second gravity is at 300) so you get up a decent height and then BOOM! it's back up to 600 and you start to fall faster than you thought and miss your platform :D. Or you could set it up to change the hostname to different things everyfew seconds so people can see different things. (This sadly will help the guy who wanted a scrolling hostname) Or you could screw around with hook cvars (making it hook faster then slower and pull you faster and slower and other little things like this). This is only limitless to the amount of plugins you have controlled by cvars. Enjoy :D |
I remember this request. Looks good. (A lot of color in your post lol)
|
Nice plugin Suicide! I'm going to use this :)
|
That's err ... My plugin posting template :evil:
|
Quote:
|
I shall steal some of your colors then! muahahahaha :twisted:
I wanted the scrolling hostname!!1 |
THIS
Code:
amx_unconstant hostname "[ZAN] climb mod" "[ZAN] Climb mod" "[ZAN] CLimb mod" "[ZAN] CLImb mod" "[ZAN] CLIMb mod" "[ZAN] CLIMB mod" "[ZAN] CLIMB Mod" "[ZAN] CLIMB MOd" "[ZAN] CLIMB MOD" Code:
"[ZAN]" "Climb" "[ZAN]" "climb" "mod" I put it in my amxx.cfg file... though that shouldn't matter, should it? Help! |
i REQUESTED THIS
|
Quote:
@mofomikeman: I will have the update later today hopefully. |
Ew, its static.
Needs more dynamicness. |
All times are GMT -4. The time now is 21:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.