beliar34
Member
- Joined
- Feb 28, 2012
- Messages
- 307
- Solutions
- 7
- Reaction score
- 11
Sup, why this script dont work on tfs 0.4 3777 rev (no errors in console)
Can i set skulss ?
which funciton ?
doPlayerSetSkullEnd(cid, 0, SKULL_RED)
doPlayerSetRedSkullTicks(cid, x)
?
Code:
local storage = 20233
function onKill(cid, target, flags, damage)
if isPlayer(target) then
if getPlayerIp(cid) ~= getPlayerIp(target) then
local frags = math.max(0, getPlayerStorageValue(cid, storage))
doCreatureSetStorage(cid, storage, frags+1)
if(frags >= 5000) then
doCreatureSetGuildEmblem(cid, EMBLEM_RED)
elseif(frags >= 1500) then
doCreatureSetGuildEmblem(cid, EMBLEM_BLUE)
elseif(frags >= 250) then
doCreatureSetGuildEmblem(cid, EMBLEM_GREEN)
end
Can i set skulss ?
which funciton ?
doPlayerSetSkullEnd(cid, 0, SKULL_RED)
doPlayerSetRedSkullTicks(cid, x)
?