Raised This Month: $ Target: $400
 0% 

How do I print EACH character from an array?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 04-26-2006 , 10:30   How do I print EACH character from an array?
Reply With Quote #1

In C I would just do something like:

Code:
                for ( new i = 0; i < strlen(data); i++ )                 {                     server_print( "%s", data[i] );                 }

But in Pawn this doesn't work, what do I have to do to print each CHARACTER from the array?

Thanks,
Josh
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
 



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 05:01.


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