Raised This Month: $ Target: $400
 0% 

Tag Mismatched


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-01-2010 , 18:13   Re: Tag Mismatched
Reply With Quote #1

So, what is LrGames defined as? I'm assuming it's an enum but I wouldn't think you could use it as an integer in the for loop.
__________________
fysiks is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 07-01-2010 , 19:42   Re: Tag Mismatched
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
So, what is LrGames defined as? I'm assuming it's an enum but I wouldn't think you could use it as an integer in the for loop.
IIRC it takes the value that comes next.

Ex.:
Code:
enum Blah
{
  Blah_1,
  Blah_2,
}

Blah == 2
Code:
enum Blah
{
  Blah_1 = -1,
  Blah_2,
  Blah_3,
  Blah_4,
}

Blah == 3
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 07-02-2010 , 03:22   Re: Tag Mismatched
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
So, what is LrGames defined as? I'm assuming it's an enum but I wouldn't think you could use it as an integer in the for loop.
Yep it is a enum

PHP Code:
enum LrGames
{
    
LR_KNIFE,
    
LR_SHOT,
    
LR_NADE,
    
LR_FRENZY,
    
LR_SHOTTY,
    
LR_SCOUT

__________________
JailBreak Mod with Plugin API ( 90% ) Public
shuttle_wave 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 14:48.


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