What do I need to use of one of them:
PHP Code:
{
SetUserFov(victim, get_pcvar_num(cvar))
//set_task(0.1, "SetUserFov", victim, get_pcvar_num(cvar))
}
For this code:
PHP Code:
SetUserFov(id, iFOV)
{
set_pdata_int(id, m_iFOV, iFOV, XO_PLAYER)
set_pev(id, pev_fov, iFOV)
}
I tried it like that right now, and it doesn't work, with set_task, I can't even compile it.