Raised This Month: $ Target: $400
 0% 

[SOLVED] Why doesn't this NPC Code works ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 01-09-2015 , 12:05   Re: [HELP] Why doesn't this NPC Code works ?
Reply With Quote #2

write_file( szFile, szText, -1 )
I am not in my computer to check, but i think that -1 is the lengh. So you must use charsmax(szText) instead of -1

write_file( szFile, szText, charsmax(szText) )
__________________

Last edited by Jhob94; 01-09-2015 at 12:06.
Jhob94 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 15:23.


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