AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Tagging enum structure, tag mismatch? (https://forums.alliedmods.net/showthread.php?t=240002)

Backstabnoob 05-07-2014 07:03

Tagging enum structure, tag mismatch?
 
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?

hleV 05-07-2014 07:36

Re: Tagging enum structure, tag mismatch?
 
str_to_float → _:str_to_float

Backstabnoob 05-07-2014 07:50

Re: Tagging enum structure, tag mismatch?
 
Seems to work, thanks. Won't detagging it cause any hiccups, though?

Arkshine 05-07-2014 08:56

Re: Tagging enum structure, tag mismatch?
 
Nope.

fysiks 05-07-2014 21:48

Re: Tagging enum structure, tag mismatch?
 
Quote:

Originally Posted by Backstabnoob (Post 2134792)
Seems to work, thanks. Won't detagging it cause any hiccups, though?

User created tags are purely cosmetic.

Backstabnoob 05-08-2014 03:25

Re: Tagging enum structure, tag mismatch?
 
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

fysiks 05-08-2014 05:29

Re: Tagging enum structure, tag mismatch?
 
Quote:

Originally Posted by Backstabnoob (Post 2135103)
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.


All times are GMT -4. The time now is 09:43.

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