To use the syntax highlighter, which colors certain parts of text in the code box, use the following parameters (without the space between [ and code):
[ code=cpp] TEXT HERE [/code]
The result is this:
GreenCorona local.origin:
local.AL_Number = randomint 70000
local.AL = spawn script_model model models/fx/corona_green_bright.tik
local.AL.targetname = ("ALLIES" + local.AL_Number)
$("ALLIES" + local.AL_Number) notsolid
$("ALLIES" + local.AL_Number).origin = local.origin
iprintlnbold_noloc "[Green Corona Added]"
$("ALLIES" + local.AL_Number) thread Flasher // Insert Girly Scream Here
end
Flasher:
self thread Marker
while(1)
{
self show
wait 1
self hide
wait 1
}
end