Unavle to compile script.
#3

cache_get_value_name
Код:
cache_get_value_name(row_idx, const column_name[], destination[], max_len = sizeof(destination))
So you have to change this line
Код:
BanExpire = cache_get_value_name(i, "BanExpire");
to this..
Код:
cache_get_value_name(i, "BanExpire", BanExpire);
And this
Код:
if(BanExpire == 0) ban_expire = "PERMANENT";
else ban_expire = TimeConvert(BanExpire);
to this..
Код:
if(BanExpire == 0) format(ban_expire, sizeof(ban_expire), "PERMANENT");
else format(ban_expire, sizeof(ban_expire), TimeConvert(BanExpire));
It looks like, you didn't create the function..
Код:
error 017: undefined symbol "TimeConvert"
Reply


Messages In This Thread
Unavle to compile script. - by MacGyverr - 06.03.2019, 15:46
Re: Unavle to compile script. - by Avialila - 06.03.2019, 16:42
Re: Unavle to compile script. - by Jularra - 06.03.2019, 16:45
Re: Unavle to compile script. - by MacGyverr - 07.03.2019, 16:51
Re: Unavle to compile script. - by MacGyverr - 07.03.2019, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)