18-12-2008, 12:12 AM
2 problems..
1. I want it so that when I RUN and RUn only it takes away SP, it takes away when I walk as well..
2. It doesnt stop moving when SP reaches 0..
In sub PlayerMove I added,
1. I want it so that when I RUN and RUn only it takes away SP, it takes away when I walk as well..
2. It doesnt stop moving when SP reaches 0..
In sub PlayerMove I added,
Code:
If GetPlayerSP(index) 0 Then
Call SetPlayerSP(index, GetPlayerSP(index) - 1)
Call SendSP(index)
End If
End If