Raised This Month: $ Target: $400
 0% 

Write file (ID.txt)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BloodyNuker
Member
Join Date: Jan 2006
Old 04-30-2006 , 12:24   Write file (ID.txt)
Reply With Quote #1

How can i write a file and this have name of the id player?

Code:
write_file("addons/amxmodx/acalight/" & id & ".txt","nothing",-1);


And how can i show if in the server exist the file i created?
Code:
if (file_exists("addons/amxmodx/acalight/" & id & ".txt"))


Tnkz
BloodyNuker is offline
 


Thread Tools
Display Modes

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 05:13.


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