Writing to file?
Ok, so I'm trying to make a plugin that, when a client joins your server, it gets his steamid, name, and ip, and writes it to a file. When I join the server, nothing gets written to the file.
Code:
/* Plugin generated by AMXX-Studio */ |
Re: Writing to file?
Remove one of the '%s' from fprintf.
|
Re: Writing to file?
Thanks works perfect now. Don't know how I didn't see that
|
Re: Writing to file?
You don't need trim() there by the way
|
Re: Writing to file?
I thought trim removes the spaces in the array? Or do the blanks not get written in the file?
|
Re: Writing to file?
Quote:
|
Re: Writing to file?
Oh. Thanks both of u
|
| All times are GMT -4. The time now is 00:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.