Raised This Month: $ Target: $400
 0% 

Simple Write and Read File


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 09-29-2012 , 23:50   Simple Write and Read File
Reply With Quote #1

Could someone show me an example of simple write and read file
Randomize is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 09-30-2012 , 00:00   Re: Simple Write and Read File
Reply With Quote #2

Look amx_settings_api.sma and for example zp50_grenade_fire.sma

From ZP 5.0.8

Easy and understandable.
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-30-2012 , 01:39   Re: Simple Write and Read File
Reply With Quote #3

Look in any plugin that uses files but if you find one that uses the functions read_file() and write_file(), skip them, you should not be using those functions.

You should look at fopen(), fgets(), fputs(), fclose(), etc. These functions are similar to C++ functions.
__________________
fysiks 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 08:22.


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