Raised This Month: $ Target: $400
 0% 

Empty an array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-27-2011 , 09:18   Re: Empty an array
Reply With Quote #4

Or you can make this way too

PHP Code:
 
new g_SelectedAuthId[32]

public function(
id)
{
    
//bla bla
    
    
new szID[32]
    
get_user_authid(targetszIDcharsmax(szID))
    
    if(
is_user_connected(target))
    {
        
copy(g_SelectedAuthId31szID)
    }
}

public 
AnotherFunction(id)
{
    
client_print(0print_chat"%s"g_SelectedAuthId)
    
g_SelectedAuthId[0] = 0

Or i am wrong?
.Dare Devil. 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:20.


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