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

Action player info book (more RPG!!) xD

God Stailok

New Member
Joined
Sep 14, 2011
Messages
15
Reaction score
0
Well This Action Check The Guild, Guild Rank (Vice Leader,Leader Etc), skulltype , Level , Skills and your Cash :D
Is a Very Very Simple Script And Very Useful xD

Create a New File .lua In Data/actions/scripts Whit This:

Lua:
-- Script By God Stailok --

 function onUse(cid, item, fromPosition, itemEx, toPosition)  
    doSetItemText(item.uid, "Player Info:\n\n You Are "..getPlayerSkullType(cid).."\n 0 = No Skulled\n 1 = Yellow Skulled\n 2 = Green Skulled\n 3 = White Skulled Or 'Pk'\n 4 = Red Skulled\n 5 =  Black Skulled\n\n Your Current Level Is: ["..getPlayerLevel(cid).."]\n\n Skills:\n\n Magic Level: ["..getPlayerMagLevel(cid).."]\n Fist Fighting: ["..getPlayerSkill(cid, 0).."]\n Club Fighting: ["..getPlayerSkill(cid, 1).."]\n Sword Fighting: ["..getPlayerSkill(cid, 2).."]\n Axe Fighting: ["..getPlayerSkill(cid, 3).."]\n Distance Fighting: ["..getPlayerSkill(cid, 4).."]\n Shielding: ["..getPlayerSkill(cid, 5).."]\n Fishing: ["..getPlayerSkill(cid, 6).."]\n\n Other Info: You Guild Is: "..getPlayerGuildName(cid).."\n You Rank In The Guild Is: "..getPlayerGuildRank(cid).."\n Your Cash Is:"..getPlayerMoney(cid)..".")
    end

And Actions.xml

Code:
    <action itemid="1963" event="script" value="Name Of Your File.lua"/>

For Mystic Spirit

Code:
    <action itemid="1963" script="Name of your file.lua"/>

Tested On Tfs Mystic Spirit 2.11 (9.31)

Screenshot xD:
kchzdz.jpg
 
Back
Top