23.04.2015, 10:32
If you want to kick a player just use this |
Then compare and use foreach, I dont remember but that should be true.
And i don't see any problem with it.
Код:
// new tpid, tp_str[MAX_PLAYER_NAME]; if(sscanf(params, "d|s[MAX_PLAYER_NAME]", tpid, tp_str)) return SendClientMessage(playerid, -1, "Usage | /kick < Player ID >"); Kick(tpid);
And i don't see any problem with it.