save data
Hi, i wanted to know how to store a data globaly, in one varible, like first the character, and second the models
i thought something like this: PHP Code:
Then for use it: PHP Code:
|
Re: save data
PHP Code:
|
Re: save data
Supremache, you need to make Goku and Freezer arrays
|
Re: save data
Quote:
|
Re: save data
Quote:
Quote:
|
Re: save data
Quote:
PHP Code:
// i have the character with __int_PJ[Client] ( number ), i just wanted to see the max of lvls for this, compare the actual LVL( __int_LVL ) with the max lvl for the character PHP Code:
PHP Code:
|
Re: save data
Quote:
{ 1 , 2 }, { 3 , 4 } etc |
Re: save data
@XSlayer, if you want to compare the levels with the max size of the array try this:
if(__int_LVL[Client] < sizeof( __int_CLASSLVL ) ) [/PHP] @Bugsy, Oops, I thought something else, it fixed. |
Re: save data
Quote:
PHP Code:
this is just an idea, the compiler throw an error, cause i didnt separate the clases ( 0 = goku ) |
Re: save data
Check it again
|
| All times are GMT -4. The time now is 21:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.