08-04-2009, 04:15 PM
this is a command that warps you to either a player or a map depending on which you type
[CLIENT SIDE]
above
put
[code] 'just plain warping
Case "/warp"
If GetPlayerAccess(MyIndex) < ADMIN_MAPPER Then
AddText "You need to be a high enough staff member to do this!", AlertColor
GoTo Continue
End If
If UBound(Command) < 1 Then
AddText "Usage: /warp (map # or Player Name)", AlertColor
GoTo Continue
End If
If IsNumeric(Command(1)) Then
n = CLng(Command(1))
' Check to make sure its a valid map #
If n > 0 And n
[CLIENT SIDE]
above
Code:
' Setting sprite
put
[code] 'just plain warping
Case "/warp"
If GetPlayerAccess(MyIndex) < ADMIN_MAPPER Then
AddText "You need to be a high enough staff member to do this!", AlertColor
GoTo Continue
End If
If UBound(Command) < 1 Then
AddText "Usage: /warp (map # or Player Name)", AlertColor
GoTo Continue
End If
If IsNumeric(Command(1)) Then
n = CLng(Command(1))
' Check to make sure its a valid map #
If n > 0 And n