Raised This Month: $ Target: $400
 0% 

Testing to write custom letter and number to txt


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
erickvan
Junior Member
Join Date: Dec 2020
Old 12-18-2020 , 06:44   Re: Testing to write custom letter and number to txt
Reply With Quote #9

I try to do something like that:

PHP Code:
public WriteMatchID()
{
new 
configsdir[200]
get_configsdir(configsdir,199)
new 
configfile[200]
formatex(configfile,199,"%s/mixid.txt",configsdir)
new 
szText[64],len
read_file
("addons/amxmodx/configs/mixid.txt",0,szText,63,len)
new 
countID szText[63]++;
new 
writedata[128]
formatex(writedata,127,"%s",countID)
new 
fopen(configfile"r+")
if( 
)
{
    
fputs(fwritedata)
    
fclose)


but nothing, any ideas?

Last edited by erickvan; 12-18-2020 at 06:44.
erickvan 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 14:12.


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