• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Light in all server

Dantarrix

Member
Joined
Aug 27, 2010
Messages
546
Reaction score
18
Location
Stgo, Chile
I need to know, how to make all server's light darker....
I hear that it could be on LUA..... but i dont know.....
And i heard of a function like this:
getWorldLight()
but no more....


If someone could help, i'll be very greaateful...

=, Thank you all


Sorry for bad english
 
or maybe this
Code:
	//getWorldLight()
	LightInfo lightInfo;
	g_game.getWorldLightInfo(lightInfo);
	lua_pushnumber(L, lightInfo.level);
	lua_pushnumber(L, lightInfo.color);
	return 1;
}
rep++ if helped xd
 
Back
Top