18-12-2008, 01:58 AM
For
You should do a check to see if shift is pressed as well. Otherwise it'll just see if you're moving altogether, not running.
Something like this:
Code:
If Moved = YES Then
'reduce SP by 1 when moving
' Drop the SP
If GetPlayerSP(index) > 0 Then
Call SetPlayerSP(index, GetPlayerSP(index) - 1)
Call SendSP(index)
End If
End If
You should do a check to see if shift is pressed as well. Otherwise it'll just see if you're moving altogether, not running.
Something like this:
Code:
If Player(Index).Moving = MOVING_RUNNING Then