Hi all!
I met an interesting mistake.
Code
- when oxevent_starttime.server_timer begin
- clear_server_timer("oxevent_starttime") -- clear timer
- if oxevent.get_attender() == 0 then -- check for attenders
- notice_all("Az OX rendezvény elmarad, mert nem voltak résztvevők.") -- send notice to all
- ox_event.clear_timers() -- clear timers
- oxevent.end_event_force() -- force end event
- return
- end
- oxevent.quiz(1, 30) -- start quiz
- server_loop_timer("oxevent_checktime", 1) -- set timer loop to check max_winners
- end
Bitte melden Sie sich an, um diesen Anhang zu sehen.
There's something wrong with this part of me.
When it is ready for the oxevent.get_attender () 0 player to perceive and close the event, but oxevent.end_event_force () will not run because it does not port the players.
And now, the really interesting thing is, there's a manual launch when a GM launches and there are those features that are perfect.
Does anyone have any idea? Thank you for your answers!