Demote after time

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)


    PlayerSpawn = function(ply)
        timer.Simple( 10, function()
            ply:changeTeam(GAMEMODE.DefaultTeam, true)
        end)
    end

Please close

The answered button is above your name.