Raised This Month: $ Target: $400
 0% 

how to set one id


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 07-07-2014 , 16:32   Re: how to set one id
Reply With Quote #7

Re-add the [33] to Cname and Cdec since those are strings.

You have to define which class index of Cname and Cdesc that has to be written to.

MAX_CLASSES-1 will always remain the same meaning you will overwrite every time you use this native. I'm guessing you don't want that. You need global/static variable that is increasing at the end of this native.
__________________
Black Rose 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:07.


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