Raised This Month: $ Target: $400
 0% 

Converting enum elements


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
thEsp
BANNED
Join Date: Aug 2017
Old 06-08-2020 , 18:13   Re: Converting enum elements
Reply With Quote #4

Bugsy that's not what I need because that's hard-coded. The idea behind is to iterate through an enum's valid (0 - N) members and check if their name matches with a certain string. I heard Pawn for SA:MP has actually a stringification macro-function which could in theory come handy, but that's a custom feature. I just got my hands into the compiler we use and already figured out the part macro-definitions are handled. Because it's late mid-night now rest is to be seen & possibly modified tomorrow.

Last edited by thEsp; 06-08-2020 at 18:25.
thEsp 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 17:07.


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