Raised This Month: $ Target: $400
 0% 

Solved enum question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lexzor
Veteran Member
Join Date: Nov 2020
Old 05-02-2021 , 20:30   enum question
Reply With Quote #1

Hello. I have this enum:

PHP Code:
enum _:DATA
{
    
Address[MAX_IP_LENGTH],
    
AuthID[MAX_AUTHID_LENGTH],
    
Name[MAX_NAME_LENGTH],
    
Frags,
    
Deaths,
    
FirstSeen,
    
LastVisit
}

new 
g_iPlayersInfo[MAX_PLAYERS 1][DATA
and this is how i try to get player authid
PHP Code:
get_user_authid(idg_iPlayersInfo[id][AuthID], sizeof(DATA[AuthID])) 
but i gen an error. did i create the enum correctly? Thanks.

Last edited by lexzor; 05-03-2021 at 09:30.
lexzor 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 02:32.


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