Raised This Month: $ Target: $400
 0% 

save data


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
XSlayer
Member
Join Date: Dec 2021
Old 06-11-2022 , 19:54   save data
Reply With Quote #1

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:
         // Global
                                       // 12 for the max characters, and 2 for the max lvls ( in models )
new __int_CLASSLVL[12][2] =

              
// 0 = Goku
                                 // "goku.mdl"
                                // "ssjgoku.mdl"
             // 1 = Freezer
                                 // "freezer.mdl"
                                      // how to write something like that correctly?, and if its possible of course



Then for use it:
PHP Code:
                                                          // *= how can i check the max of lvls, thinking that goku will have 2 and freezer 1
if(__int_LVL[Client] < __int_CLASSLVL[__int_PJ[Client][*]) 

Last edited by XSlayer; 06-11-2022 at 19:57.
XSlayer 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:18.


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