shiFt
Member
- Reaction score
- 8
Do the BJdebugmsg's show in game??
function BJDebugMsg takes string msg returns nothing
local integer i = 0
loop
call DisplayTimedTextToPlayer(Player(i),0,0,60,msg)
set i = i + 1
exitwhen i == bj_MAX_PLAYERS
endloop
endfunction
BJDebugMsg(debug(xxxx))
debug function DebugMsg takes string s returns nothing
debug call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, s)
debug endfunction
set displaydebug = true
set displaydebug = false
function DebugMsg takes string s returns nothing
if displaydebug then
call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, s)
endif
endfunction
if localplayer = triggerplayer
set displaydebug = true