PHP Code:
public resret(id)
{
ret[1]=false
}
PHP Code:
set_task(0.25,"resret",1)
Should be
PHP Code:
public resret(id)
{
ret[id]=false
}
PHP Code:
set_task(0.25,"resret",id)
You don't need to use Tempstring, those arguments are optional. You can just use "get_user_weapon(id)". You can also use a variable and store the time using get_gametime() instead of using a task.
Did you make the model? Fun plugin, but the model could use a transition animation when switching between the two different modes.