[EASY] Warnings +REP
#6

Quote:
Originally Posted by StarPeens
Посмотреть сообщение
anyone?
You must look at the Include functions...

Код:
DOF2_GetInt(file[],key[],tag[]="");
So you must do sth like this:

Код:
new path[32];
format(path,32,"%s.txt",GetName(playerid));
SpielerInfo[playerid][pBan] = DOF2_GetInt(path,"Banned");
And the other line...wtf?!

It should look sth like this:

Код:
format(SpielerInfo[playerid][pBanReason],128,DOF2_GetString(path,"BanReason"));
format(SpielerInfo[playerid][pBanTime],64,DOF2_GetString(path,"BanTime"));
format(SpielerInfo[playerid][pBanDate],64,DOF2_GetString(path,"BanDate"));
format(SpielerInfo[playerid][pBanIP],16,DOF2_GetString(path,"BanIP"));
But if we could see your enum, that would be better
Reply


Messages In This Thread
[EASY] Warnings +REP - by StarPeens - 09.03.2015, 05:09
Re: [EASY] Warnings +REP - by Karan007 - 09.03.2015, 05:41
Re: [EASY] Warnings +REP - by Ritzy2K - 09.03.2015, 07:07
Re: [EASY] Warnings +REP - by StarPeens - 09.03.2015, 11:00
Re: [EASY] Warnings +REP - by CalvinC - 09.03.2015, 11:08
AW: Re: [EASY] Warnings +REP - by Kaliber - 09.03.2015, 11:11
Re: [EASY] Warnings +REP - by StarPeens - 09.03.2015, 11:25
Re: [EASY] Warnings +REP - by CalvinC - 09.03.2015, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)