Garry's Mod Leaks

Better Job Functions!

Submitted by Obitus, , Thread ID: 6846

Thread Closed

RE: Better Job Functions!

#4
02-08-2015, 01:57 AM
MisterNoName Wrote:
10-07-2015, 08:25 PM
jamesdacoda Wrote:
Hmmmmmmmmmm......... Make the loadout so you start with an extra command.. Try to figure out that! I did! xD

And make it so their salary changes 10+ every hour! Try to figure all these customchecks... Good luck!

I did! xD.

Here some more functions!

Mayor Death + Message:
PlayerDeath = function(ply)
if ply:Team() == TEAM_MAYOR then
ply:changeTeam( TEAM_CITIZEN, true )
for k,v in pairs( player.GetAll() ) do
DarkRP.notify(v, 1, 4, "The Mayor has been assassinated!")
end
end
end,


Mayor's Bodyguard Only If Mayor:
customCheck = function(ply) return CLIENT or
team.NumPlayers(TEAM_MAYOR) == 0
end,

And PS: I like the ideas, what do you mean with the extra command on loadout? However I am trying to find out how to spawn with a vehicle!
You got more of such? thanks :yus:

Users browsing this thread: 1 Guest(s)