So i've been trying to look through some functions on darkrp and stuff and was wondering how would i go about making someone get demoted after a set amount of time.
[editline]16th April 2015[/editline]
NVM Found the code
Heres the code (Just add it to a job in darkrp code)
[CODE] PlayerSpawn = function(ply)
timer.Simple( 10, function()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
end)
end[/CODE]
Please close
The answered button is above your name.
Sorry, you need to Log In to post a reply to this thread.