PHP Code:
public logevent_round_end()
{
new iPlayers[32], iNum, id
get_players(iPlayers, iNum, "ch")
for(new i = 0; i < iNum; i++)
{
id = iPlayers[i]
if(!HasSpeed[id])
continue
HasSpeed[id] = 0
set_user_maxspeed(id, NormalSpeed) // "0" on set max speed?
}
I may be wrong, but logevent does not have the "id" parameter, so you have to loop through all the players.
__________________