Cider Help

Ok, So I got this Cider gamemode, but there is a few lua errors, my friend dose lua, I asked him to fix this lua error, and he did. But ot made a new lua errors,

Here is the area where the error is:


-- Called to check if a player can use voice.
function GM:PlayerCanVoice(player)
	if ( player:Alive(player))
	and player:GetPos(distance):Distance( LocalPlayer():GetPos() ) <= ( cider.configuration["Talk Radius"] )
	
end;

	and !player:GetNetworkedBool("cider_Arrested")
	and !player:GetNetworkedBool("cider_KnockedOut") ) then
		return true;
	else
		return false;
	end;
end;

Here is the error:

Couldn’t Load Init Script: ‘cider/gamemode/cl_init.lua’

[ERROR] gamemodes/cider/gamemode/cl_init.lua:608: ‘then’ expected near ‘end’

  1. unknown - gamemodes/cider/gamemode/cl_init.lua:0

Couldn’t Load Init Script: ‘cider/gamemode/cl_init.lua’

I’m pretty sure there is more lua errors after that, so i’ll keep posting here. please help me out.


-- Called to check if a player can use voice.
function GM:PlayerCanVoice(player)
	if ( player:Alive(player))
	and player:GetPos(distance):Distance( LocalPlayer():GetPos() ) <= ( cider.configuration["Talk Radius"] ) 

	and !player:GetNetworkedBool("cider_Arrested")
	and !player:GetNetworkedBool("cider_KnockedOut") ) then
		return true;
	else
		return false;
	end;
end;

I’m not sure why there was an end in the middle of an “if then” statement.

Ok, thank you, but now I get these errors:

[ERROR] gamemodes/cider/gamemode/cl_init.lua:609: ‘then’ expected near ‘)’

  1. unknown - gamemodes/cider/gamemode/cl_init.lua:0

Couldn’t Load Init Script: ‘cider/gamemode/cl_init.lua’

[ERROR] gamemodes/cider/entities/weapons/rg_base/shared.lua:551: ‘)’ expected near ‘|’

  1. unknown - gamemodes/cider/entities/weapons/rg_base/shared.lua:0

E



-- Called to check if a player can use voice.
function GM:PlayerCanVoice(player)
	if ( player:Alive(player))
	and player:GetPos(distance):Distance( LocalPlayer():GetPos() ) <= ( cider.configuration["Talk Radius"] ) 

	and !player:GetNetworkedBool("cider_Arrested")
	and !player:GetNetworkedBool("cider_KnockedOut") then
		return true;
	else
		return false;
	end;
end;


There was an extra parenthesis before “then”

Hmm, found a working cider, but the cl_init GM: DeriveGamemode(“cidertwo”) is not working for me, any one know how to fix? This is the error:

[ERROR] gamemodes/cidertwo/gamemode/cl_init.lua:6: attempt to call method ‘DeriveGamemode’ (a nil value)

  1. unknown - gamemodes/cidertwo/gamemode/cl_init.lua:6

C

[editline]16th August 2013[/editline]

Ok, fixed that error, BUT, it says file not found.

Couldn’t include file ‘cidertwo\gamemode\cl_init.lua’ (File not found) (<nowhere>)
Couldn’t Load Init Script: ‘cidertwo/gamemode/cl_init.lua’

Uhh, fixed EVERY THING NOW, as I found out I was missing the gamemode openaura…
BUT NOW…

I need a glon.lua for it, that he base nor the ciderRP had, so can some one tell me where to get it? please?

Thanks :slight_smile:

Here you go - http://filesmelt.com/dl/glon.zip

Still not working, says file not found even after I added it and stuff. Help meh please.

I found the applejack cider, seems to be outdated? Can I have a link where do download/buy it? If you need to buy it?

http://cloudsixteen.com/store/cart.php

Legacy Cider Two