Raised This Month: $ Target: $400
 0% 

Tagging enum structure, tag mismatch?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-07-2014 , 07:03   Tagging enum structure, tag mismatch?
Reply With Quote #1

I think I've seen this somewhere but I couldn't find it.

PHP Code:
enum _ZonesDataStruct
{
    
Float__fZoneMin],
    
Float__fZoneMax],
    
__szZoneName32 ]
}
// ...

new aDataZonesDataStruct ]
// ...

aData__fZoneMin ][ ] = str_to_floatszTempCoords] ) // tag mismatch
aData__fZoneMax ][ ] = str_to_floatszTempCoords] ) // tag mismatch 
What do?
Backstabnoob is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-07-2014 , 07:36   Re: Tagging enum structure, tag mismatch?
Reply With Quote #2

str_to_float → _:str_to_float
__________________
hleV is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-07-2014 , 07:50   Re: Tagging enum structure, tag mismatch?
Reply With Quote #3

Seems to work, thanks. Won't detagging it cause any hiccups, though?
Backstabnoob is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-07-2014 , 08:56   Re: Tagging enum structure, tag mismatch?
Reply With Quote #4

Nope.
__________________
Arkshine is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-07-2014 , 21:48   Re: Tagging enum structure, tag mismatch?
Reply With Quote #5

Quote:
Originally Posted by Backstabnoob View Post
Seems to work, thanks. Won't detagging it cause any hiccups, though?
User created tags are purely cosmetic.
__________________
fysiks is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 05-08-2014 , 03:25   Re: Tagging enum structure, tag mismatch?
Reply With Quote #6

I know that, I thought that my array structure might not be a float value and would display incorrect data (had this happen to me before). However it works just fine, thanks for the help guys
Backstabnoob is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-08-2014 , 05:29   Re: Tagging enum structure, tag mismatch?
Reply With Quote #7

Quote:
Originally Posted by Backstabnoob View Post
I know that, I thought that my array structure might not be a float value and would display incorrect data (had this happen to me before). However it works just fine, thanks for the help guys
That is why i said "user created tag". Float is a special one.
__________________
fysiks 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 09:43.


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