mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Add department playtime requirement config, code
This commit is contained in:
@@ -348,8 +348,11 @@
|
||||
if(!job.is_position_available()) return 0
|
||||
if(jobban_isbanned(src,rank)) return 0
|
||||
if(!job.player_old_enough(src.client)) return 0
|
||||
if(!is_job_whitelisted(src,rank)) return 0 //VOREStation Code
|
||||
if(!job.player_has_enough_pto(src.client)) return 0 //VOREStation Code
|
||||
//VOREStation Add
|
||||
if(!job.player_has_enough_playtime(src.client)) return 0
|
||||
if(!is_job_whitelisted(src,rank)) return 0
|
||||
if(!job.player_has_enough_pto(src.client)) return 0
|
||||
//VOREStation Add End
|
||||
return 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user