Raised This Month: $ Target: $400
 0% 

Empty an array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
killergirl
Senior Member
Join Date: Jul 2010
Old 04-27-2011 , 08:03   Empty an array
Reply With Quote #1

I tried to search, but I havent found any respons to my question. I'm trying to empty an array, but I don't know how. I need to give a value, or... I don't know.

eg:
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)

killergirl is offline
 


Thread Tools
Display Modes

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