JASS:
private static method talk2948 takes nothing returns nothing
call TriggerRegisterPlayerChatEvent(function thistype.bypass2, Player(0), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(1), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(2), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(3), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(4), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(5), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(6), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(7), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(8), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(9), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(10), "-create", false )
call TriggerRegisterPlayerChatEvent(bypass2, Player(11), "-create", false )
endmethod
private static method bypass2 takes nothing returns nothing
endmethod
This is my trigger. Im trying to learn Jass and I'm just experimenting with some triggers. Player(1) to Player(11) return seperate errors, but once i get 0 working ill set them correctly. The line that has player(o) returns the error message in the title. How do i fix that?