General > Developers Corner
Custom Job Help
Merlin:
Wait, can it be that PlayerLoadout is being called before PlayerSpawn and overriding the function?
Is there a way to add the PlayerLoadout function as an argument to the PlayerSpawn function?
MrPresident:
Put this inside of playerspawn
hook.Call( "PlayerLoadout", GAMEMODE, ply )
that calls the gamemode's PlayerLoadout hook on the ply player object.
Merlin:
Nope, that didn't resolve my issue.
And I just noticed another Custom Job doesn't have the PlayerLoadout function and the Ply:SetRunSpeed, Ply:SetWalkSpeed & Ply:SetJumpPower arguments don't work.
Is there a way to force a ULX command on a job when they spawn? If I can do that then I can force the ULX runspeed, walkspeed and jumppower commands on a job when they spawn.
Navigation
[0] Message Index
[*] Previous page
Go to full version