Currently the developers are putting their own money into JC2-MP to keep the servers online.

Please take a few seconds of your time and disable your AdBlock plugin for our website.

Ad revenue is not going to developers, it is used purely for covering our hosting costs.

 

You are also free to donate, which removes all ads from our website!

Patch 0.3 was just released! Full changelog here: https://t.co/4A50m6IKen

2 years ago

Advertisement
July 17, 2019, 11:28:03 am

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Glover

Pages: [1] 2 3 4
1
Your TS IP isn't working.

2
Scripting support / Re: Commands appearing in Chat
« on: January 08, 2014, 08:00:03 pm »
Anytime ;)

3
Scripting support / Re: Commands appearing in Chat
« on: January 08, 2014, 07:51:54 pm »
Unless the command has the Return False as I stated, yes.

4
Scripting support / Re: Commands appearing in Chat
« on: January 08, 2014, 07:33:19 pm »
Use Return False.

For example:
Code: [Select]
PlayerChat = function(args)
        if args.text == "/kill" then
                args.player:SetHealth(0)
        return false
        end
 
        return true
end

5
Scripting / Re: Looking for a server manager.
« on: January 08, 2014, 12:23:31 am »
What kind of server are you interested in?

6
JC2-MP / Re: Hosting
« on: December 17, 2013, 09:23:22 pm »
I know PingPerfect is: http://pingperfect.com/

That's who I use, been great so far, amazing support. 10p a slot or you can use a VPS like I do.

7
Work in progress / Re: Basic Duel Script
« on: December 17, 2013, 09:16:51 pm »
I'm working on something very similar, have you got Steam or GTalk? We could compare.

8
Scripting support / Problems with players falling through the map.
« on: December 17, 2013, 07:49:57 pm »
Hi all,

I'm having issues with players falling through the map. When they first log in it's fine but whenever they die and respawn they always fall through the map. Even when I raise the coords to give them a longer time to render the map the issue still occurs.

My code:

Code: [Select]
spawns = {
Vector3(-4925.187012, 234.002518, -1370.304443),
Vector3(-4934.499023, 240.000793, -1414.097168),
Vector3(-4927.741699, 245.999985, -1388.601440),
Vector3(-4899.338867, 245.999985, -1408.729858),
Vector3(-4872.474609, 251.999985, -1399.522461),
Vector3(-4896.214355, 290.019196, -1400.230347),
Vector3(-4892.854492, 318.106628, -1395.367188),
Vector3(-4903.533691, 318.109467, -1395.884888),
Vector3(-4900.793945, 318.106628, -1403.429810),
Vector3(-4898.647461, 319.722321, -1399.202637)
}

textColor = Color(115, 170, 220)
players = {}
 
StartGame = function()
for player in Server:GetPlayers() do
local randomIndex = math.random(1, #spawns)
local spawnPosition = spawns[randomIndex]
player:SetPosition(spawnPosition)
player:ClearInventory()
local weapon = Weapon(28)
player:GiveWeapon(2, weapon)
player:SetHealth(1)
end
end

PlayerSpawn = function(args)
StartGame()
local message = "Innovative Gaming - Deathmatch"
args.player:SendChatMessage(message, textColor)
return false
end


OnPlayerChat = function(args)
if args.text == "/kill" then
args.player:SetHealth(0)
return false
end
 
return true
end
 
 PlayerChat = function(args)
if args.text == "/pos" then
print(args.player:GetPosition())
return false
end
 
return true
end


Events:Subscribe("PlayerSpawn", PlayerSpawn)
Events:Subscribe("PlayerChat", PlayerChat)
Events:Subscribe("ModuleLoad", StartGame)
Events:Subscribe("PlayerChat", OnPlayerChat)

9
Scripting support / Re: Another dumb question...
« on: December 17, 2013, 12:16:20 am »
They could of created it themselves.

10
No worries, wasn't sure how to report it directly so I thought I'd post here for anyone else having issues. :)

11
Hi,

I've heard a few people complain that when they try to follow this tutorial:
http://wiki.jc-mp.com/Lua/Tutorials/Beginner/Your_first_gamemode

They get errors or the script won't start.

Make sure you change all the

'Vector' to 'Vector 3'.

For example instead of:

Code: [Select]
spawns = {
Vector(14197.319336, 458.649567, 14382.654297),
Vector(14053.989258, 451.647766, 14313.827148),
Vector(14192.114258, 438.649567, 14359.311523),
Vector(14109.357422, 423.588654, 14350.410156),
Vector(14162.669922, 434.653503, 14290.238281)
}

Use

Code: [Select]
spawns = {
Vector3(14197.319336, 458.649567, 14382.654297),
Vector3(14053.989258, 451.647766, 14313.827148),
Vector3(14192.114258, 438.649567, 14359.311523),
Vector3(14109.357422, 423.588654, 14350.410156),
Vector3(14162.669922, 434.653503, 14290.238281)
}

12
Scripting / Re: A couple questions...
« on: December 16, 2013, 11:24:22 pm »
You should just be able to add that to your current script.

13
Archived / Re: JC2-MP 0.1.0 Released!
« on: December 16, 2013, 06:10:49 pm »
Aaaaand all the downloads are down...

14
Archived / Re: JC2-MP 0.1.0 Released!
« on: December 16, 2013, 06:05:25 pm »
Woot woot! Let's goooo!

15
Releases / Re: The default scripts are on Github
« on: December 16, 2013, 05:53:24 pm »
Thanks Dread

Pages: [1] 2 3 4