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

[Request] 7.6 action script

Nevalopo

Demigod
Joined
Jul 21, 2008
Messages
5,165
Reaction score
68
Location
Sweden, Landskrona
Hello im running a server and i need some help with some action scripts.

First one is: Waterpipe (ID 2093)

Waterpipe: I want the waterpipe to say "Puff Puff, I r stoned" When u click on it. Also it should remove 100000 of your hitpoints.

Second one is: Beer cask (ID 1772)

Beer cask: When u click use on the beer cask it should make u drunk and infect u by poisen. First it should start off at 1000 then it goes 1000 - 999 - 998 - 997 and so on.

Third one is: Indoor plant

Indoor Plant: When u click on it it should give u a fern (ID 2801) As many times as u click it.. Not like a quest.. Wich u only can take once.. it should be unlimited..

I would be very glad if anyone could help me with this.. Remember its 7.6 (Illusion if it makes any diffrence) Thanks for awnsers a.s.a.p
 
Test this script for waterpipe if it don't works. ( I am not 100% sure that this will work

Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 2093 then
doCreatureAddHealth(cid, -100000)
doSendAnimatedText(fromPosition, "Puff Puff", TALKTYPE_ORANGE_1)
else
return false
end
return true
end
 
Back
Top