Quote:
Originally Posted by Noam
nope, i have checked that.
only when map restart/change you can use it again.
|
Let's say you're in-game. You use your command and get the free ammos and then you leave.
Another player joins, he hasn't used that command yet. He writes the command but plugin tells him "you've already used", because his id will be the same as previous player's.
You should reset "used_command" when player disconnects ( or joins the server ) and check whether a player has used command by steamid or name. You should use tries for that.