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

Knowledge of Human

XaNaduxD

Candy Boy ;*
Joined
Oct 25, 2009
Messages
31
Reaction score
0
Location
Poland
Hello,
I Show Script ...
Knowledge of Human
Action Script



PHP:
function onUse(cid, item, frompos, item2, topos)



player1 = getThingfromPos(topos)

lol = getPlayerName(player1.uid)

local name = getPlayerName(player1.uid)
local ml = getPlayerMagLevel(player1.uid)
local lvl = getPlayerLevel(player1.uid)
local mp = getPlayerMana(player1.uid)
local hp = getPlayerHealth(player1.uid)
local maxmp = getPlayerMaxMana(player1.uid)
local maxhp = getPlayerMaxHealth(player1.uid)
local access = getPlayerAccess(player1.uid)

if isPlayer(player1.uid) ~= 1 then
doPlayerSendCancel(cid,"You can use item [only players].") 


elseif access <= 3 then
doPlayerSendTextMessage(cid,22, 'Name: '..name..'')
doPlayerSendTextMessage(cid,22, 'Level: '..lvl..'')
doPlayerSendTextMessage(cid,22, 'Magic Level: '..ml..'')
doPlayerSendTextMessage(cid,22, 'Hp: '..hp..'/'..maxhp..'')
doPlayerSendTextMessage(cid,22, 'Mp: '..mp..'/'..maxmp..'')



	else 
		return 0
	end
	return 1
end
 
do you mean /info command?
 

Similar threads

Back
Top