Thread
:
[HELP] Client Menu
View Single Post
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
11-16-2018 , 11:32 Re: [HELP] Client Menu
#
8
Quote:
Originally Posted by
Dragokas
Code:
if (!FileExists(path))
??? It almost always exist. In 99 % cases your code will not work.
https://sm.alliedmods.net/new-api/files/WriteFileLine
1-st argument is a handle.
"%s" "20:ao", ... - what is this?
WriteFileLine( - and what is this?
You should write correctly. Handle, "string". Or Handle, "specifiers(s)", arg(s)
char path[512]; - use PLATFORM_MAX_PATH const
FormatEx - in the non-performance critical places it's better to use Format()
Thanks again! When i Handle hndl is says what i can't use Handle has value!
How do i fix it?
__________________
My Steam Profile
Accepting private requests. Order them here!
Feel free to donate (PayPal)
SpirT
View Public Profile
Send a private message to SpirT
Find More Posts by SpirT