How to loop all players? - my code is not working
#1
Code:
function OnTick(TickTime)
    local ForEachPlayerTick = function(Player)
        Player:SendMessage("Player never recieves this message")
    end
end
Of course I have added hook
Code:
cPluginManager:AddHook(cPluginManager.HOOK_TICK, OnTick);
but it is not working.
Console is not giving any error.
Thank you very much! Big Grin
Reply
Thanks given by:


Messages In This Thread
How to loop all players? - my code is not working - by _XxFedexX_ - 04-13-2021, 05:47 PM



Users browsing this thread: 1 Guest(s)