Can someone help with read_file
How can i read line by line file and if the file has // on the line to not show this line and go to next
|
Re: Can someone help with read_file
https://forums.alliedmods.net/showthread.php?t=46218
To check if the data from a line contains "//", there are 3 ways you can check: Code:
I advise you to use the first one because it does not require a native call. |
Re: Can someone help with read_file
Thank you, sir :) but i'm trying to use this for
Code:
|
Re: Can someone help with read_file
The line must be an integer, not a string.
|
Re: Can someone help with read_file
how can i set it to integer str_to_num ?
|
Re: Can someone help with read_file
Yes.
|
Re: Can someone help with read_file
Code:
|
Re: Can someone help with read_file
I fix it thank you very much exo :) and one more question how can i get the maxlines in the file?
|
| All times are GMT -4. The time now is 02:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.