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

!addon ~~

Sizaro

Advanced OT User
Joined
Aug 20, 2007
Messages
5,153
Solutions
5
Reaction score
212
Location
Sweden
GitHub
coldensjo
This is not working.
No error in console.
o_O

Lua:
-- Script by Master-M and Sizaro --

function onSay(cid, words, param)

	if words == "citizen" then

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 128, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 136, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
	
	elseif words == "hunter" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 129, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 137, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end

elseif words == "mage" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 130, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 138, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end

elseif words == "knight" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 131, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 139, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
		elseif words == "nobleman" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 132, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 140, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
		elseif words == "summoner" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 133, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 141, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end

elseif words == "warrior" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 134, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 142, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
		elseif words == "barbarian" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 147, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 143, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
		elseif words == "druid" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 148, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 144, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
	
			elseif words == "wizard" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 149, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 145, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
				elseif words == "oriental" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 150, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 146, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
						elseif words == "pirate" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 151, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 155, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
						elseif words == "assassin" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 152, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 156, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "assassin" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 153, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 157, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "beggar" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 153, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 157, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "shaman" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 154, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 158, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "norseman" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 251, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 252, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "nightmare" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 268, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 269, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "jester" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 273, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 270, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "brotherhood" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 278, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 279, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "demonhunter" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 289, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 288, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
		
								elseif words == "yalaharian" then	

		if getPlayerSex(cid) == 1 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 325, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )       
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
			if doPlayerRemoveItem(cid, 8982, 1) == true then
				doPlayerAddOutfit(cid, 324, 3)
				doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
			else
				doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
			end
		end
	end	
end

Code:
	<talkaction words="!addon" event="script" value="donationaddons.lua"/>
 
Lua:
-- Script by Master-M and Sizaro --

function onSay(cid, words, param)
        words = param
        if words == "citizen" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 128, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 136, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
       
        elseif words == "hunter" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 129, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 137, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end

elseif words == "mage" then    

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 130, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 138, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end

elseif words == "knight" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 131, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 139, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif words == "nobleman" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 132, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 140, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif words == "summoner" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 133, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 141, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end

elseif words == "warrior" then 

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 134, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 142, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif words == "barbarian" then       

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 147, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 143, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif words == "druid" then   

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 148, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 144, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
       
                        elseif words == "wizard" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 149, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 145, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                elseif words == "oriental" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 150, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 146, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                elseif words == "pirate" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 151, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 155, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                elseif words == "assassin" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 152, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 156, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "assassin" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 153, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 157, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "beggar" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 153, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 157, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "shaman" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 154, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 158, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "norseman" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 251, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 252, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "nightmare" then       

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 268, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 269, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "jester" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 273, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 270, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "brotherhood" then     

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 278, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 279, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "demonhunter" then     

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 289, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 288, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif words == "yalaharian" then      

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 325, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 324, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
        end    
end

You forgot that the words are "!addon ..." :).
 
And..
Lua:
-- Script by Master-M and Sizaro --

function onSay(cid, words, param)
        text = ""..param..""
        if text == "citizen" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 128, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 136, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
       
        elseif text == "hunter" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 129, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 137, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end

elseif text == "mage" then    

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 130, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 138, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end

elseif text == "knight" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 131, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 139, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif text == "nobleman" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 132, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 140, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif text == "summoner" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 133, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 141, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end

elseif text == "warrior" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 134, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 142, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif text == "barbarian" then      

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 147, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 143, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                elseif text == "druid" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 148, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 144, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
       
                        elseif text == "wizard" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 149, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 145, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                elseif text == "oriental" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 150, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 146, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                elseif text == "pirate" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 151, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 155, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                elseif text == "assassin" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 152, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 156, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "assassin" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 153, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 157, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "beggar" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 153, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 157, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "shaman" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 154, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 158, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "norseman" then

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 251, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 252, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "nightmare" then      

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 268, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 269, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "jester" then  

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 273, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 270, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "brotherhood" then    

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 278, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 279, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "demonhunter" then    

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 289, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 288, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
               
                                                                elseif text == "yalaharian" then      

                if getPlayerSex(cid) == 1 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 325, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )      
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                elseif getPlayerItemCount(cid, 8982) and getPlayerSex(cid) == 0 then
                        if doPlayerRemoveItem(cid, 8982, 1) == true then
                                doPlayerAddOutfit(cid, 324, 3)
                                doPlayerSendTextMessage ( cid, 24, 'You just got your addons.' )    
                        else
                                doPlayerSendTextMessage ( cid, 24, 'You don\'t have the correct item.' )
                        end
                end
        end    
end
 
Back
Top