This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Unlimited TFC Nades


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Team Fortress Classic        Category:   Fun Stuff       
-hi-
Member
Join Date: Jul 2006
Old 07-14-2006 , 04:01   Unlimited TFC Nades
Reply With Quote #1

Trash plz...

Last edited by -hi-; 07-19-2006 at 13:23.
-hi- is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-15-2006 , 03:11   Re: Unlimited TFC Nades
Reply With Quote #2

A. Good idea.
B. bad script.
B1. If a user switches team, he will still have unlimited nades but will be on the opposite team.
B2. If a user joins a team that has unlimited nades, he won't get them.
B3. client_PostThink to set their number of nades is pretty harsh on the server compared to what it needs to be. Try hooking this:
Code:
register_event("StatusIcon","givenades","be","1=1")

And for B1+2 you need to remake the script. Make 2 global variables, one that is set if a whole team should be given ammo (variable[5]) and one like it is now but only used if a specific player is targeted for unlimited ammo. For example, this would be the line in the function that is the forward from the "StatusIcon" hook:
Code:
if(has_unlimited[id] || if(team_has_unlimited[get_user_team(id)])

Last edited by GHW_Chronic; 07-15-2006 at 03:19.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-15-2006 , 12:50   Re: Unlimited TFC Nades
Reply With Quote #3

Unapproved.....reason look above. (Thanks Chronic)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
-hi-
Member
Join Date: Jul 2006
Old 07-19-2006 , 13:22   Re: Unlimited TFC Nades
Reply With Quote #4

Please trash this post, I re-posted it in New Plugin Submissions without knowing that this one could just be moved. I know for next time.
-hi- 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 19:35.


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