Jump to content

Adding script help


Recommended Posts

Posted

Hello im trying to make my server good so i downloaded the spawn player script mod but idk how to add it or cofig it any help and make it position were i want players spawned.

Posted

Well, the script has several variables inside, you just change them.

-- Settings for when a player joins 
    -- XYZ coördinates 
    local joinX = 0.0 
    local joinY = 0.0 
    local joinZ = 0.0 
    -- Weapon and ammo 
    local joinWeapon = 22 
    local joinAmmo = 200 
    -- Message when player joins 
    local joinMessage = "Welcome to this server." 
    -- Skin that player gets 
    local joinSkin = 0 
  
-- Settings for when a player dies 
    -- XYZ coördinates 
    local spawnX = 0.0 
    local spawnY = 0.0 
    local spawnZ = 0.0 
    -- Weapon and ammo 
    local spawnWeapon = 22 
    local spawnAmmo = 200 
    -- Skin that player gets 
    local spawnSkin = 0 
  
-- Settings for the amounts of money 
    -- Money the killer gets 
    local killerMoney = 500 
    -- Money removed from player when they die 
    local deadPlayerMoney = 500 
    -- Money you get when you join 
    local joinMoney = 1000 

Posted

Now you can unpack it with WINrar, then remove the .ZIP and leave the folder, then you can open the .lua file inside and set the variables inside.

Posted

Ok you told me put the 2 files in a folder or in a zip and place it in resource folder now you want me to unpack it and put just the folders in resource and also idk the variables for the spot i really want my players to spawn at.

Posted

Yea i seen a youtube video on it all you have to do is go to edit thingy press definitions then add ctf but then idk how to get to the ctf menu it says scroll down but when i do it doe snothing

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...