Raised This Month: $ Target: $400
 0% 

fgets, format (general messup)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
marky_uk
Junior Member
Join Date: Aug 2008
Old 04-10-2009 , 18:00   Re: fgets, format (general messup)
Reply With Quote #1

Sorry guys, im still very new to scripting and I appreciate the help you have give me but I can't think of a way to fix this.

This, im guessing, is the main problem: WeaponEnt[0] = "f"
Another problem is the data im reading from the file: needs trim() for /n/r
Another problem I have just seen is that im using a static size for the weapon model name, variable weapon, which should be dynamic because not all the names are 18 chars.

Please could I have some more help?
Thanks
marky_uk is offline
Reply



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 02:15.


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