tidus133 Posted August 26, 2012 Author Share Posted August 26, 2012 Server Side- Create a command button on the control frmServer.leave it normal.- Der 2 cliques na command button ponha:```scrlMM.Max = MAX_MAPSscrlMX.Max = MAX_MAPXscrlMY.Max = MAX_MAPYpicWarpAll.Visible = True```- Create a picturebox control on the part of the server put the name of picWarpAll and va visible in their properties and put false.- Create a label inside the picturebox with the name and caption lblMM Map: 1- Below the label we just built, make a HScrollBar named scrlMMDer 2 clicks and put```lblMM.caption = "Map: " & scrlMM.Value```- Below create a label with the name and caption lblMX X: 0- Bottom of label lblMX make another HScrollBar named scrlMX. der-click on it and put:``` lblMX.caption = "X: " & scrlMX.Value```- Below we just do build another label this time with the name and caption lblMY Y: 0- Below HScrollBar ponhaa add the name scrlMY and give two clicks in it and put:``` lblMY.caption = "Y: " & scrlMY.Value```- Still ta picturebox under the last HScrollBar create a command button with any name and caption der-click on it and add:``` Dim Index As LongDim MapNum As LongDim MapX As LongDim MapY As LongMapNum = Int(scrlMM.Value)MapX = Int(scrlMX.Value)MapY = Int(scrlMY.Value)For Index = 1 To MAX_PLAYERSIf IsPlaying(Index) ThenIf GetPlayerAccess(Index) = 0 ThenCall PlayerWarp(Index, MapNum, MapX, MapY)End IfEnd IfNext IndexCall GlobalMsg("The server has warped everyone to map " & MapNum & ".", YELLOW)picWarpAll.Visible = False```- Below create another command button with any name and with two clicks Caption Cancel der the same and add:``` Dim Index As LongDim MapNum As LongDim MapX As LongDim MapY As LongMapNum = Int(scrlMM.Value)MapX = Int(scrlMX.Value)MapY = Int(scrlMY.Value)For Index = 1 To MAX_PLAYERSIf IsPlaying(Index) ThenIf GetPlayerAccess(Index) = 0 ThenCall PlayerWarp(Index, MapNum, MapX, MapY)End IfEnd IfNext IndexCall GlobalMsg("The server has warped everyone to map " & MapNum & ".", YELLOW)picWarpAll.Visible = False```That errors or questions post here.creditsTayllor(I)the system to post elsewhere please ask for permission. Link to comment Share on other sites More sharing options...
JohnPony Posted August 26, 2012 Share Posted August 26, 2012 Glad to see you contribute as your first post, nice job and welcome to the community. Link to comment Share on other sites More sharing options...
tidus133 Posted August 27, 2012 Author Share Posted August 27, 2012 **Thanks ☠General General Pony ☠soon be posting a new tutorial** Link to comment Share on other sites More sharing options...
abhi2011 Posted August 28, 2012 Share Posted August 28, 2012 What does this actually do? Link to comment Share on other sites More sharing options...
Wortel Angels Posted August 28, 2012 Share Posted August 28, 2012 **System all at once Teleport??? teleport all at once ?** Link to comment Share on other sites More sharing options...
abhi2011 Posted August 28, 2012 Share Posted August 28, 2012 Is this to me?Well I read the code and now I understand. It teleports all players that are playing to a map. Simple but effective. Link to comment Share on other sites More sharing options...
tidus133 Posted August 28, 2012 Author Share Posted August 28, 2012 **I do not speak english, I'm brazilian.****please, what is the right way to write the name of the system?** Link to comment Share on other sites More sharing options...
abhi2011 Posted August 29, 2012 Share Posted August 29, 2012 Server-Side player summon tele system or Server-side Player-To-Map tele system Link to comment Share on other sites More sharing options...
tidus133 Posted August 29, 2012 Author Share Posted August 29, 2012 **Thank you.****added** Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now