Raised This Month: $ Target: $400
 0% 

How to get counter on txt?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jonatat
Senior Member
Join Date: Dec 2017
Old 06-10-2018 , 03:21   How to get counter on txt?
Reply With Quote #1

I want to write custom gameid to .txt file, example: a1, a2, a3, a4 and etc then admin runs custom command. And every time that ID increase like example first time i wrote custom command in server and write into .txt file: a1. Next time if i use same command wirte to txt file a2 but removes before a1 text. I hope u understand what i neeed. I try do something like that:

PHP Code:
public WriteMatchID()
{
new 
0;
new 
mixid i++;
new 
writedata[128];
formatex(writedata,127,"%s",mixid)
write_file(filename,writedata)

But does not working... Any help? Thanks guys!

Last edited by jonatat; 06-10-2018 at 03:23.
jonatat 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 04:32.


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