7
edits
(Fixed the params section; added an example) |
m (fixed the script example's spacing) |
||
Line 43: | Line 43: | ||
return; | return; | ||
if(sdl.ticks - gameMsgStart < gameMsgDuration ) { | if (sdl.ticks - gameMsgStart < gameMsgDuration ) { | ||
if(gameMsgFont != null) { | if (gameMsgFont != null) { | ||
gameMsgFont.render(gameMsgText, [0, gta.height-45], gta.width, 0.5, 0.0, gameMsgFont.size, gameMsgColour, true, true, false, true); | gameMsgFont.render(gameMsgText, [0, gta.height - 45], gta.width, 0.5, 0.0, gameMsgFont.size, gameMsgColour, true, true, false, true); | ||
} | } | ||
} | } | ||
}); | }); | ||
}} | }} |
edits