Maximum visibility?
1 Attachment(s)
Okay, I'm trying to make the Credits Mod by Atambo I think, make people completely or 99% invisible, heres the script part...
Code:
//eg. (stealthperbuy = 60) times (stealthmaxlvl = 3) = 180 // the value must be lower than the defaultstealthCredits Mod: http://forums.alliedmods.net/showthread.php?t=16327[/url] |
u want them to get totally invis on 1 buy?
|
Try changing one of them to 0, as anything times 0 is 0.
Unless of course 255 is fully invisible, I can't remember, in which case stealthperbuy should be 255 and stealthlevels should be 1. |
0 is INvisible and 255 is visible
|
0o I wanted full invis in 6 buys, so I make it #define defaultsteath 255 and #define stealthperbuy 42? or can I make it 42.5? (does CS/AMX allow decimals?)
|
It depends on if the plugin grabs an integer (no decimals) or a float (yes decimals).
|
| All times are GMT -4. The time now is 23:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.