Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
842 B
2
Indexable
Never
stock GetJobLevel_Trucker(job) {
	new level;
	if(job >= 0 && job <= 50) level = 1;
	else if(job >= 51 && job <= 100) level = 2;
	else if(job >= 101 && job <= 150) level = 3;
	else if(job >= 151 && job <= 200) level = 4;
	else if(job >= 201) level = 5;
	return level;
}

stock GetJobLevel_TruckerBoat(job) {
	new level;
	if(job >= 0 && job <= 50) level = 1;
	else if(job >= 51 && job <= 100) level = 2;
	else if(job >= 101 && job <= 150) level = 3;
	else if(job >= 151 && job <= 200) level = 4;
	else if(job >= 201) level = 5;
	return level;
}

stock GetJobLevel_Container(job) {
	new level;
	if(job >= 0 && job <= 50) level = 1;
	else if(job >= 51 && job <= 100) level = 2;
	else if(job >= 101 && job <= 150) level = 3;
	else if(job >= 151 && job <= 200) level = 4;
	else if(job >= 201) level = 5;
	return level;
}
Leave a Comment