• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Expecting Code Statement, how to fix?

Status
Not open for further replies.
I would appreciate any help, thanks in advance.

[jass=]
function GetSelect takes nothing returns nothing
local integer i = 0

trigger udg_t = CreateTrigger()

loop
call TriggerRegisterPlayerSelectionEventBJ( udg_t, Player(i), true )
set i = i + 1
exitwhen i >= 12
endloop
call TriggerAddAction( udg_t, function Dat_SelectOn )
call TriggerAddAction( udg_t, function Dat_Message )
endfunction
[/code]

The functions are already made and spell-checked.
 
Status
Not open for further replies.
Top