Quote:
Originally Posted by mick88
Код:
new pid;
if(sscanf(params, "u", id))
Bug here. Also, why do you check if player is admin twice?
And check if player id is correct, otherwise command will crash because INVALID_PLAYER_NAME is larger than array size MAX_PLAYERS.
Reset by setting player as un-frozen when he connects:
Код:
PlayerFrozen[playeris]
|
The way you do that command is confusing me. I'll be changing how I check if a player is an admin twice, but the main reason is so I can tell the admin how to do the command correctly. If you have a better way, care to share? I'm still modifying the command, but its truly confusing me and I don't know why. Could you explain it a little to me?