Today, I tried to make a custom Cider RP job:
TEAM_THIEF = cider.team.add("Thief", Color(204, 0, 204, 255), "models/player/barney.mdl", "models/player/barney.mdl", "Runs around the city, thieving.", 55, 3, nil, true);
I put that in core/plugins/generic/sh_init.lua
I also added it so when someone was that class, they would get a lockpick and a keypad cracker.
I put this in the gamemode init.lua
if (LocalPlayer():Team() == TEAM_THIEF) then player:Give ("cider_lockpick");
if (LocalPlayer():Team() == TEAM_THIEF) then player:Give ("keypad_cracker");
After doing so, we got frozen at the loading, jump if your stuck here, part of entering the server.
What did I do wrong?