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

looking description

llamavani

Trinitium Rubidia Style!
Joined
Sep 17, 2009
Messages
173
Reaction score
3
Location
Guadalajara, Mexico
hello friends im looking for a script...
When you get a storage value like 14789 you see in your looking description like that
You see yourself you are blabla blabla blabla... and (YOU ARE A MEMBER OF BLACK GUILD)
Can you help me?
 
LUA:
function onLook(cid, thing, position, lookDistance)
	if (isPlayer(thing.uid) and getCreatureStorage(cid, 14789) > 0) then
		doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == 0 and ".\nShe" or ".\nHe") .. " is a member of \"Black guild\".")
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, getPlayerName(thing.uid) .. " is a member of \"Black guild\".")
	end
	return true
end
 
Back
Top