2 errors.
#7

PHP код:
PlayerInfo[targetid][pBanned] = 1;
    
PlayerInfo[targetid][pBannedBy] = pName// error 1
    
PlayerInfo[targetid][pBannedFor] = reason//error 2 
change to

PHP код:
PlayerInfo[targetid][pBanned] = 1;
new 
text1[50],text[40];
format(text1,sizeof(text1), " %s.",pName);
PlayerInfo[targetid][pBannedBy] = text1;
format(text,sizeof(text), " %s.",reason);
PlayerInfo[targetid][pBannedBy] = text
PS : sorry for double post
Reply


Messages In This Thread
2 errors. - by Johnson_Brooks - 28.05.2014, 09:07
Re: 2 errors. - by Konstantinos - 28.05.2014, 09:18
Re: 2 errors. - by Rittik - 28.05.2014, 09:19
Re: 2 errors. - by Johnson_Brooks - 28.05.2014, 09:34
Re: 2 errors. - by Konstantinos - 28.05.2014, 09:43
Re: 2 errors. - by Lacamora - 28.05.2014, 10:23
Re: 2 errors. - by Lacamora - 28.05.2014, 10:32
Re: 2 errors. - by Johnson_Brooks - 28.05.2014, 11:49
Re: 2 errors. - by Konstantinos - 28.05.2014, 15:06
Re: 2 errors. - by Johnson_Brooks - 28.05.2014, 18:51

Forum Jump:


Users browsing this thread: 1 Guest(s)