Mirage Source
Easy Warping with /warp - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13)
+------ Thread: Easy Warping with /warp (/showthread.php?tid=2711)



Easy Warping with /warp - Labmonkey - 08-04-2009

this is a command that warps you to either a player or a map depending on which you type
[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


Re: Easy Warping with /warp - Joost - 11-04-2009

As far as I know, player names can be numeric as well.


Re: Easy Warping with /warp - Labmonkey - 12-04-2009

the /warpto command still exists.