Trying to log all the admin commands error
#2

pawn Код:
format(str2, sizeof(str2), "ADMIN %s offline account banned %s on %d/%d/%d at %d:%d:%d.)", PlayerName(playerid), PlayerName(player2), month, day, year, hour, minute, second);
As i see player2 is a string, and PlayerName is function to get the player's name from playerid, not from a playername.
Just change:
pawn Код:
PlayerName(player2),
to:
pawn Код:
player2,
Reply


Messages In This Thread
Trying to log all the admin commands error - by MisterTickle - 14.09.2009, 09:19
Re: Trying to log all the admin commands error - by Correlli - 14.09.2009, 09:43
Re: Trying to log all the admin commands error - by MisterTickle - 14.09.2009, 10:44
Re: Trying to log all the admin commands error - by Correlli - 14.09.2009, 10:46
Re: Trying to log all the admin commands error - by MisterTickle - 14.09.2009, 11:03
Re: Trying to log all the admin commands error - by Correlli - 14.09.2009, 11:12

Forum Jump:


Users browsing this thread: 1 Guest(s)