Raised This Month: $ Target: $400
 0% 

Global array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 10-22-2012 , 15:21   Re: Global array
Reply With Quote #24

Quote:
Originally Posted by ShufflexDD View Post
right example please, I'm too confused

kinda got it
Code:
CreateArray(ByteCountToCells(21));
Or use ByteCountToCells once to get value is enough?

@Doc-Holiday, I found it in 2 post above yours
you were asking for an example....... lol so i showed you how to use it and yes according to the way the post are after mine the above code would create what you want. however the wiki shows

new Array[X][32];
is the same as
CreateArray(32);

Wouldnt you be able to simply

PHP Code:
g_array CreateArray(21);

PushArrayString(g_arrayszSteamId); 
Doc-Holiday 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 11:41.


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