highclick
New Member
- Joined
- Mar 21, 2011
- Messages
- 80
- Reaction score
- 4
I got some shishas in game, i want the character too say "Puff Puff" when he clicks on them, I've assigned ACTIONID 2002 too the Shishas.
This is my .xml:
This is my .lua:
IMPORTANT READ: I tried too remove the last "," in the "function onUse(cid, item,)". It caused my client and my friends client too crash when trying too use the shisha.
Thank you in advance
This is my .xml:
Code:
<action actionid="2002" event="script" value="other/shisha.lua"/> <!-- Shisha -->
This is my .lua:
Code:
function onUse(cid, item,)
doCreatureSay(cid, "Puff Puff", TALKTYPE_ORANGE)
return true
end
IMPORTANT READ: I tried too remove the last "," in the "function onUse(cid, item,)". It caused my client and my friends client too crash when trying too use the shisha.
Thank you in advance