Jump to content

Ziemys

Members
  • Posts

    10
  • Joined

  • Last visited

Details

  • Location
    Lithuania

Ziemys's Achievements

Member

Member (5/54)

0

Reputation

  1. Portforward sais that my ports is opened, but my server don't appears in servers browser and in Game-Monitor site. And when I want to add my server to game-monitor it fails and sais that my server is already in list, but when I use search on G-M my server doesn't appear in server list.
  2. Portforward sais that my ports is opened, but my server don't appears in servers browser and in Game-Monitor site. And when I want to add my server to game-monitor it fails and sais that my server is already in list, but when I use search on G-M my server doesn't appear in server list.
  3. I have the same problem as dvdd. So I don't whant to ask you why my server don't appears in server list, but I need help how to fix these problems.
  4. I have the same problem as dvdd. So I don't whant to ask you why my server don't appears in server list, but I need help how to fix these problems.
  5. Thanks for help, but it doesn't work. If I do it like this and type /check when I'm loged in and loged out, the effect is the same, server prints "Please login." in chat box. function loggingIn ( ) local logedIn = logIn ( source, getPlayerName(source) ) if ( logedIn ) then spawnPlayer(source,15,123,154) outputChatBox ("Welcome to my server.", source) fadeCamera (source, true) setCameraTarge (source, source) else outputChatBox ("Please login.", source) end end addCommandHandler ( "check", loggingIn )
  6. Thanks for help, but it doesn't work. If I do it like this and type /check when I'm loged in and loged out, the effect is the same, server prints "Please login." in chat box. function loggingIn ( ) local logedIn = logIn ( source, getPlayerName(source) ) if ( logedIn ) then spawnPlayer(source,15,123,154) outputChatBox ("Welcome to my server.", source) fadeCamera (source, true) setCameraTarge (source, source) else outputChatBox ("Please login.", source) end end addCommandHandler ( "check", loggingIn )
  7. Hi, everyone. So I have one problem, I want to spawn player and start the game when he logs in, but I don't know how. I've tried to do that in this way, but it don't works. function loggingIn ( source ) local logedIn = logIn ( source, getPlayerName(source), password ) if ( logedIn ) then spawnPlayer(source,15,123,154) outputChatBox ("Welcome to my server.", source) fadeCamera (source, true) setCameraTarge (source, source) else outputChatBox ("Please login.", source) end end addEventHandler ( "onPlayerJoin", getRootElement(), loggingIn )
  8. Hi, everyone. So I have one problem, I want to spawn player and start the game when he logs in, but I don't know how. I've tried to do that in this way, but it don't works. function loggingIn ( source ) local logedIn = logIn ( source, getPlayerName(source), password ) if ( logedIn ) then spawnPlayer(source,15,123,154) outputChatBox ("Welcome to my server.", source) fadeCamera (source, true) setCameraTarge (source, source) else outputChatBox ("Please login.", source) end end addEventHandler ( "onPlayerJoin", getRootElement(), loggingIn )
  9. .... i dont understand a thing about this?"can i just put in a file and save it and my teleporter will work?(read:im a total noob at scripting) local myMarker = createMarker( -2596.6259765625, 579.3583984375, 15.626741409302, 'cylinder', 2.0, 255, 0, 0, 150 ) -- This one creates a marker with cylinder form at x,y,z coordinates and makes marker red. function MarkerHit( hitPlayer, matchingDimension ) -- This line creates a function with 2 arguments hitPlayer and matchingDimension (I don't know very much about arguments). setElementPosition ( hitPlayer, posX, posY, posZ ) -- This line teleports hitPlayer ( player that hits marker) to posX, posY and posZ coordinates. end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) -- This is event handler read about it at [url=http://robhol.net/guide/basics/?p=8]http://robhol.net/guide/basics/?p=8[/url] And... Yes you can save it and start the server, but first you need to save this in a lua file and make it server side in meta.xml.
  10. Can you help me? Highlighter editor is not working for me. When I'm setting editor highlighter changes and closing the options window, everything cames back to a normal highlighter colours.
×
×
  • Create New...