Problem updating db / Muted time ended.
#3

Replace this line:
pawn Код:
format(string2, sizeof(string2), "UPDATE playeraccounts SET `Muted`='0',`MuteTime`='0' WHERE `playername`='%s'");
With these:
pawn Код:
new name[24];
GetPlayerName(x, name, sizeof(name));
format(string2, sizeof(string2), "UPDATE playeraccounts SET `Muted`='0',`MuteTime`='0' WHERE `playername`='%s'", name);
Reply


Messages In This Thread
Problem with command /mute , when times end of mute. - by buburuzu19 - 09.09.2014, 13:57
Re: Problem updating db / Muted time ended. - by buburuzu19 - 10.09.2014, 07:55
Re: Problem updating db / Muted time ended. - by HazardouS - 10.09.2014, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)