alright so I have been trying out multiple times to get this to work.
--[[
Gravity Settings--]]
hook.Add("PlayerSpawn", "wzm:GlobalGravity", function()
Player:SetGravity(100)
end)
basically it's supposed to set the global gravity for all players. I would use PlayerConnect aswell, but before that I have to make the PlayerSpawn work first.
(I have a bunch of E2 experience and I am aware that it is NOT the same, that being said I should be able to understand at least some stuff)
The Error:
lua:4: attempt to index global 'Player' (a function value)
IF IT IS NOT POSSIBLE (read me)
then please do show me alternative ways