Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
change default movespeed
6 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local function setPlayerSpeed(id) parse("speedmod " .. id .. " 50") end addhook("startround", "setSpeedForAllPlayers") function setSpeedForAllPlayers() for i = 1, 32 do -- assuming a maximum of 32 players if player(i, "exists") then setPlayerSpeed(i) end end end addhook("spawn", "setSpeedForSpawnedPlayer") function setSpeedForSpawnedPlayer(id) setPlayerSpeed(id) end
![user](img/i_friend.png)
![](img/smiles/ugly.gif)
![user](img/i_friend.png)
![user](img/i_friend.png)
You must know about hook and function in cs2d
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)