Jump to content

Psychotic_OZ

Members
  • Posts

    13
  • Joined

  • Last visited

Details

  • Gang
    Psychotic-Hell
  • Location
    Australia
  • Occupation
    Civil COnstruction

Psychotic_OZ's Achievements

Square

Square (6/54)

0

Reputation

  1. Well I use centos 7 and this is how I do it. Type these commands: useradd <UserName> then: passwd <Username> then it'll ask you to set the password which you will then do. After that connect using filezila using the username and password you just set and use sftp protocol also put your server ip in as the host also set logon type to normal
  2. Correct me if i'm wrong but isn't it bad practice to start a gaming server as root? I've always started a game server as a user because if there is an exploit or something they not only can destroy your game server but your entire server itself.
  3. Would it be possible to sync chat channels from a minecraft server to a mta server so you can see minecraft chat in mta and visa versa? I have seen it done with minecraft and discord but idk about minecraft and mta
  4. Honestly you would need quite a bit of money to make it good. You would need to have a good map, custom scripts and mods
  5. Also how do i set timers for commands? say I want it do you can only /nos ever 2 mins and if you /nos within that timefram it says you must wait another <time> seconds
  6. Also is there a way to add a logo/picture to the screen for the server? if yes how?
  7. so far i know how to spawn the player, give a car with /car and give weapon with /ak47, thats it for now, im such a noob local spawnX, spawnY, spawnZ = 1959.55, -1714.46, 10 function joinHandler() spawnPlayer(source, spawnX, spawnY, spawnZ) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome to My Server", source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) function consoleGive ( thePlayer, commandName, weaponID, ammo ) local status = giveWeapon ( thePlayer, 30, 200, true) if ( not status) then outputConsole ("Failed to give weapon", thePlayer) end end addCommandHandler ( "ak47", consoleGive ) function createVehicleForPlayer(thePlayer, command, vehicleModel) local x,y,z = getElementPosition(thePlayer) -- get the position of the player x = x + 5 local createdVehicle = createVehicle(tonumber(602),x,y,z) if (createdVehicle == false) then outputChatBox("Failed to create vehicle.",thePlayer) end end addCommandHandler("car", createVehicleForPlayer) Also how do i see my xyz position while in game?
  8. i see, it works now. Now wiki is a little vague
  9. oh oops somehow i removed that but i cant get a car to spawn using the /greet
  10. Just started to learn but am stuck at getting a car to spawn. here is what my script looks like: local spawnX, spawnY, spawnZ = 1959.55, -1714.46, 10 function joinHandler() spawnPlayer(source, spawnX, spawnY, spawnZ) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Welcome to My Server", source) end function createVehicleForPlayer(thePlayer, greet, vehicleModel) local x,y,z = getElementPosition(thePlayer) -- get the position of the player x = x + 5 local createdVehicle = createVehicle(tonumber(602),x,y,z) if (createdVehicle == false) then outputChatBox("Failed to create vehicle.",thePlayer) end end addCommandHandler("createvehicle", createVehicleForPlayer)
  11. I use Xenforo for my forums for my minecraft server
  12. I want to start a server but just wondering is this like minecraft bukkit plugins where you just put the files into the plugins folder, start the server then edit the configs? or do i need to know how to script?
×
×
  • Create New...