28.05.2014, 10:32
PHP код:
PlayerInfo[targetid][pBanned] = 1;
PlayerInfo[targetid][pBannedBy] = pName; // error 1
PlayerInfo[targetid][pBannedFor] = reason; //error 2
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;