| Moderator
                
		Dołączył: 09 Mar 2007
		
		Posty: 9
		
		Przeczytał: 0 tematów 
 Ostrzeżeń: 0/5
 Skąd: Podkarpacki ;]
 
 
 | 
			
				|  Wysłany: Pią 20:17, 09 Mar 2007    Temat postu: Santa doll na 7.92 ;] bardzo fajne ;p |  |  
				| 
 |  
                |  |  
				| Witam! Jest to mikołaj na 7.92 muwiący ... cos tam zobaczyc warto.
 
 actions/scripts i robimy tam pilk "santadoll" zawartosc:
 
 
 --function santa doll--
 function onUse(cid, item, frompos, item2, topos)
 sorte = math.random(1,6)
 pos = getPlayerPosition(cid)
 
 if item.itemid == 6567 then
 if sorte == 1 then
 doPlayerSay(cid,'Ho ho ho!',16)
 doSendMagicEffect(pos,22)
 
 elseif sorte == 2 then
 doSendMagicEffect(pos,22)
 doPlayerSay(cid,'Jingle bells, jingle bells..',16)
 
 elseif sorte == 3 then
 doSendMagicEffect(pos,22)
 doPlayerSay(cid,'Have you been naughty?',16)
 
 elseif sorte == 4 then
 doSendMagicEffect(pos,22)
 doPlayerSay(cid,'Have you been nice?',16)
 
 elseif sorte == 5 then
 doSendMagicEffect(pos,22)
 doPlayerSay(cid,'Merry Christmas!',16)
 
 elseif sorte == 6 then
 doSendMagicEffect(pos,22)
 doPlayerSay(cid,'Can you stop squeezing me now... I m starting to feel a little sick.',16)
 
 else
 end
 end
 return 1
 end
 
 teraz :
 actions/actions
 
 <action itemid="6567" script="santadoll.lua"/>   <-- na sam dół
 
 To by było na tyle ;]
 Comment PlX
 
 Post został pochwalony 0 razy
 |  
				|  |  |