27.11.2013, 18:54
I only have temp ban but I don't know how to make like /tempban %s has been banned for %s days by %s reason: %s
new tempbanstring[128]; new AdminName[MAX_PLAYER_NAME], BannedName[MAX_PLAYER_NAME]; GetPlayerName(playerid, AdminName, sizeof(AdminName)); GetPlayerName(playerid, BannedName, sizeof(BannedName)); format(tempbanstring, sizeof(tempbanstring), "%s has been banned for %d days by %s reason: %s", BannedName, BanTime, AdminName, BanReason); SendClientMessageToAll(-1, tempbanstring);