Raised This Month: $ Target: $400
 0% 

enum and native tag mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hop
Junior Member
Join Date: Jun 2016
Old 04-03-2017 , 23:44   enum and native tag mismatch
#1

I'm trying to compile this in SourceMod 1.8+, I removed the enum re-tagging since that causes errors but I'm not sure how to redo this part without getting errors, hopefully someone can point me in the right direction, thanks.
PHP Code:
enum
{
String:sName[8],
bool:bEnabled[2],
ConfigSize
};

[...]

any g_aConfig[8][ConfigSize];

[...]

if(
g_aConfig[ID][Enabled][Type]) 
PHP Code:
error 001expected token")"but found "["
error 029invalid expressionassumed zero
warning 215
expression has no effect
error 001
expected token";"but found "]"
fatal error 190too many error messages on one line 

Last edited by sneaK; 12-13-2017 at 19:25. Reason: restored blanked post
Hop 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 21:16.


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