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

Solved How to get player addons?

Sir Juninho

New Member
Joined
May 4, 2009
Messages
85
Reaction score
1
Hello,

Can someone tell me how can I know if player have addon X or addon Y?

Example: How can I know if player have the full addon of Citizen?

Thanks!
 
Hello,

Can someone tell me how can I know if player have addon X or addon Y?

Example: How can I know if player have the full addon of Citizen?

Thanks!

I cheated and looked in the /doc folder :p

Code:
			getCreatureOutfit(cid)
				Info
					This function checks creature current outfit.

				Returns
					Creature outfit in array.
					For example:
						{lookType = 266, lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0} --my current God outfit

				Example
					local myOutfit = getCreatureOutfit(cid)
					doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Im currently wearing outfit with lookType = " .. myOutfit.lookType .. ".")

Cheers,
Yodot.
 
Back
Top