Raised This Month: $ Target: $400
 0% 

Parse Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-17-2014 , 09:32   Parse Problem
Reply With Quote #1

szLineData[128]:
Code:
C 46 -684 36 254 -484 68
Code:
new fox[3][8];
new zox[3][8]
new type[1]
            
parse(szLineData, type, 1, fox[0], 7, fox[1], 7, fox[2], 7, zox[0], 7, zox[1], 7, zox[2], 7)
Printing out:
Code:
ColorChat(0, GREEN, "%s", szLineData)

Quote:
C 46 -684 36 254 -484 68
Code:
ColorChat(0, GREEN, "%s %s %s %s %s %s %s", type, fox[0], fox[1], fox[2], zox[0], zox[1], zox[2])

Quote:
C 46 -684 36 -484 68
zox[0] is empty, while it should be "254". Any ideas?
Deathknife 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 13:00.


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