• 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!

On Death

Stewie

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

I would like when player die add 1 point.

Code:
function doPlayerAddPoints(cid, 1)

This is function,
Im using TFS 0.3.6.

Thanks,
Stewie.
 
PHP:
function onDeath(cid, corpse, killer)
playerpos = getPlayerPosition(cid)
doSendAnimatedText(playerpos, "PointsADD", math.random(01,255))
doPlayerAddPoints(cid, 1)
doSendMagicEffect(playerpos, 36)
return TRUE
end

try this
 
Back
Top