Raised This Month: $ Target: $400
 0% 

HELP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
spoklativiti
New Member
Join Date: Apr 2011
Old 05-14-2011 , 12:28   Re: HELP
Reply With Quote #4

how to add "szData" +1

PHP Code:
new szAuthID[35];
new 
szData[30];
new 
iTimestamp;
new 
iVault;
new 
iDataExists
get_user_authid
id szAuthID charsmaxszAuthID ) );
iVault nvault_open "temp" );
iDataExists nvault_lookupiVault g_playername[id] , szData charsmaxszData ) , iTimestamp );
if ( 
iDataExists )
{
            
nvault_getiVault szData )
            
client_print(0print_chat" %s " szData charsmaxszData ) )
            
//
            //
            // HOW TO ADD "+1" to "szData" and right result to "szText"
            //
            //
            
client_print(0print_chat" %s " szText )
            
nvault_setiVault g_playername[id] , szText )

            
}
else
{
            new 
szData[5] = 1
            nvault_set
iVault g_playername[id] , szData )

spoklativiti 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 04:28.


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