Help with read_file please
Code:
the ini file is like this Code:
testword1 testword2 testword3 testword4and the error i get is Code:
Code:
while(read_file(inifile,currline,readdata,400,linelength) != 0){ //checks every line in inifile, stores what it finds in readdata, and what line its on in currlineregards.. |
i would guess that u dont have words.txt file in ur $moddir
or as ure not resetting currline every time cmd_say() is called the plugin may try to read line 3 (which doesnt exist) |
Quote:
dedicated server\cstrike\addons\amxmodx\configs dedicated server\cstrike\addons\amxmodx\plugins dedicated server\cstrike\addons\amxmodx\modules but to no avail i also added Code:
if i just call "somefile.extension" with no dir structure what dir / dirs will it check for that file |
.. the $moddir, which is for example:
C:\Program Files\Steam\SteamApps\[email protected]\counter-strike\cstrike |
| All times are GMT -4. The time now is 20:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.