• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Black And Red Skull Remover

perfection

FATAL DAMAGE
Joined
Aug 27, 2011
Messages
196
Reaction score
8
Lua:
function onUse(cid, item, frompos, item2, topos)
	if getPlayerSkullType(cid) >= 4 then
		doCreatureSetSkullType(cid, 0)
		db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")")
		doRemoveItem(cid, item.uid, 1)
	else
		doPlayerSendCancel(cid,"You Don't Have Red/Black Skull")
	end
return true
end

[video=youtube;4RVZNs2z29U]http://www.youtube.com/watch?v=4RVZNs2z29U[/video]

and this video is a special feature for the nerds who think i am stealing scripts instead of writing them :)
 
Last edited:
umm,
if you logout/login you have skull...

you need add a database query to delete all frags hmm...
 
I want make frag remover just remove rs and save frags at guild frags i can ? cuz when player use it his guild lose frags ;//
if anyoe can help me will be Great and Thanks
 
Back
Top