native cod_set_user_speed(id, Float:value, type = ROUND);
id | Player index |
value | Bonus value |
type | Bonus type, valid types are: CLASS - for class ITEM - for item ADDITIONAL - static bonus ROUND - until round end DEATH - until death DAMAGE_GIVEN - until player damage enemy DAMAGE_TAKEN - until player is hurt |
Sets player speed bonus.
Player speed is calculated from base speed, condition bonus and speed bonus.
Higher speed bonus has priority, but still will be reduced by bonuses with value lower than 0.
Set value to COD_FREEZE (0.1) to prevent player from moving.
This function has no return value.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.