Isso fará com que os membros da staff andem mais rápido do que os jogadores normais...
Em modConstants procure por:
abaixo adicione:
em modGameLogic procure por:
abaixo adicione:
Em modConstants procure por:
- Código:
' Speed moving vars
Public Const WALK_SPEED As Byte = 4
Public Const RUN_SPEED As Byte = 6
abaixo adicione:
- Código:
Public Const ADMIN_SPEED As Byte = 18
em modGameLogic procure por:
- Código:
' Check if player is walking, and if so process moving them over
Select Case Player(Index).Moving
Case MOVING_WALKING: MovementSpeed = ((ElapsedTime / 1000) * (RUN_SPEED * SIZE_X))
Case MOVING_RUNNING: MovementSpeed = ((ElapsedTime / 1000) * (WALK_SPEED * SIZE_X))
Case Else: Exit Sub
End Select
abaixo adicione:
- Código:
If GetPlayerAccess(MyIndex) >= 2 Then
MovementSpeed = ((ElapsedTime / 1000) * (ADMIN_SPEED * SIZE_X))
End If