I can't ban a player in-game?
I need help with ban. In obj_control, I added "Key Press B" event, in this, there are a code for ban a player:
var name, player_id, reason, days;
name = get_string("Name of player","")
reason = get_string("Reason","")
days = get_integer("Days",10)
player_id = gms_other_find_by_name(name)
But when I execute the game, and I ban a player, in the chat shows me: "SERVER: Player to ban was not found!"
Last message on 22 Jun 2016