Set tasks. And does your class things work? I made a new thing.
Code:
new g_isWerewolf[33]
g_isWerewolf[id] = (g_PlayerClass[id] == CLASS_WEREWOLF)
if(g_isWerewolf[id] = true) {
set_user_health(id, 200)
return PLUGIN_CONTINUE
}
Still wont work. But your problem should be easy to fix with tasks

example here.
Code:
set_task(10.0, "swiftevents")
set_task(10.0, "reset", id)
return 0;
}
public swiftevents(id)
{
set_user_maxspeed(id, 320.0)
client_cmd(id, "cl_sidespeed 320")
client_cmd(id, "cl_backspeed 320")
client_cmd(id, "cl_forwardspeed 320")
set_task(2.0, "Swift")
}
Could look like that. And the task is under Swift(id) under the switch closing brace. And I don't think you have to add id after the event. + You made a mistake here:
Code:
public plugin_precahce()
Change that to
Code:
public plugin_precache()