Hi all.
I have this with which sets a players maxspeed with success:
PHP Code:
set_user_maxspeed(id, 450.0)
My problem is that when I pick a weapon up the player's speed resets back to 250.
I have tried making a code to prevent that from happening, but I don't know how to trigger that so it executes whne the player picks a weapon up.
The code:
PHP Code:
public asp_bug_fix(id)
{
if(SpeedEnabled[id])
{
set_user_maxspeed(id, 450.0)
}
}
Does anyone know how to trigger it with hamsandwich ?? Thank you in advance