Search found 202 matches

by Helfima
Sun Jul 03, 2016 12:56 pm
Forum: Modding help
Topic: [0.13] Checkbox style
Replies: 11
Views: 5193

[0.13] Checkbox style

Hello

i have un probleme on checkbox style, the image are splited see the attachement


function simpleIcon(filename, width, height, scale, shift, position)
return {
filename = filename,
width = width,
height = height,
scale = scale,
shift = shift,
x = position.x,
y = position.y
}
end ...
by Helfima
Tue Jun 28, 2016 11:52 am
Forum: Modding help
Topic: (RESOLVED) "game.players" help please
Replies: 3
Views: 2076

Re: "game.players" help please

Hi

pair() return key,value
ipair() return index,value

Case1:
if event.tick % update_com_count == 0 then
for key, player in pairs(game.players) do
if player.connected and player.character then
UpdateUnitsCommands(key)
end
end
end

Case 2:
function writeDebug(message)
if NE_Buildings ...

Go to advanced search