Raised This Month: $ Target: $400
 0% 

Maximum visibility?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
secretasianman
Junior Member
Join Date: Oct 2005
Old 10-25-2005 , 21:40   Maximum visibility?
Reply With Quote #1

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 defaultstealth
#define defaultstealth 200
#define stealthperbuy 20
What can I change to make them really invisible?



Credits Mod:
http://forums.alliedmods.net/showthread.php?t=16327[/url]
Attached Files
File Type: sma Get Plugin or Get Source (credits.sma - 645 views - 50.7 KB)
secretasianman is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 10-25-2005 , 21:45  
Reply With Quote #2

u want them to get totally invis on 1 buy?
[ --<-@ ] Black Rose is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-25-2005 , 23:00  
Reply With Quote #3

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.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 10-26-2005 , 03:05  
Reply With Quote #4

0 is INvisible and 255 is visible
[ --<-@ ] Black Rose is offline
secretasianman
Junior Member
Join Date: Oct 2005
Old 10-26-2005 , 16:02  
Reply With Quote #5

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?)
secretasianman is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-26-2005 , 17:24  
Reply With Quote #6

It depends on if the plugin grabs an integer (no decimals) or a float (yes decimals).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode