Raised This Month: $ Target: $400
 0% 

Get the names of a Team in a String?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-17-2010 , 14:51   Get the names of a Team in a String?
Reply With Quote #1

Hey AM,

can you help me abit? thats my code:

PHP Code:
new names[33][35

blabla(id)
{
    new 
players[32], pnumtempid;
    
get_players(playerspnum);
    
    for( new 
ii<pnumi++ )
    {
        
tempid players[i]
        
get_user_name(idnames[tempid], 34)
    }

so how can i convert the "names" variable to a string like: "name1 name2 name2 .. name32" ?
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
 



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 07:11.


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