View Single Post
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 07-02-2021 , 17:36   Re: Cmds taking wrong executor's id
Reply With Quote #7

it works with bhop command but not with bh?
anyway stop using the inner player id as a command argument. the players have no way to find this information, use something that the players have access to (cmd_target() is a useful native to id players).
you also can't use get_playersnum() to reliably loop through all players in the server since player id's wont always be in order, use get_players() instead.

Last edited by jimaway; 07-02-2021 at 17:42.
jimaway is offline