• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Skulls

Status
Not open for further replies.

Stewie

Family Guy # ;3
Joined
May 3, 2010
Messages
786
Reaction score
12
Location
TV
Hi,

is possible?,

Green skull - 10 points
Yellow Skull - 25 points
White skull - 50 points
Red skull - 75 points

Function -
Code:
getPlayerPoints
 
Last edited:
remove the unjustified kills part from ur config.lua and put this
Code:
-- Unjustified kills
yellowSkullLength = 15 * 24 * 60 * 60
redSkullLength = 30 * 24 * 60 * 60
blackSkullLength = 45 * 24 * 60 * 60
dailyFragsToRedSkull = 5
weeklyFragsToRedSkull = 9
monthlyFragsToRedSkull = 15
dailyFragsToYellowSkull = 3
weeklyFragsToYellowSkull = 6
monthlyFragsToYellowSkull = 12
dailyFragsToRedSkull = dailyFragsToYellowSkull
weeklyFragsToRedSkull = weeklyFragsToYellowSkull
monthlyFragsToRedSkull = monthlyFragsToYellowSkull
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = true
if i helped you please rep++ me :ninja:
 
Last edited:
so u basically want a function???
Code:
function getPlayerPoints(cid)
	local t = {
		[SKULL_GREEN] = 10,
		[SKULL_YELLOW] = 25,
		[SKULL_WHITE] = 50,
		[SKULL_RED] = 75
	}
	return t[getPlayerSkullType(cid)]
end
 
Status
Not open for further replies.
Back
Top