Raised This Month: $ Target: $400
 0% 

[HELP] infinite loop due to invalid value


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 10-01-2009 , 15:42   Re: [HELP] infinite loop due to invalid value
Reply With Quote #5

ahh, yes I did, and this code will get the uhh 'maxteams' key and then depending on what the value is, use a switch for when it creates the new entity, this is code from the medicmod plugin..

basically this plugin would originally create one type of entity 'info_tfdetect' that consisted of just two teams.. I want the ability for 1, 2, and 4 teams.. that is why im trying to get this working

edit: what other ways can I get the keyvalue, it seems to be looping with it equaling 0.. doesnt that mean its not getting a value?
__________________
+|- KARMA Respectively


Last edited by HLM; 10-01-2009 at 16:21.
HLM is offline
 



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 22:39.


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