Xagul
deathzot.net
- Joined
- Jun 30, 2008
- Messages
- 1,295
- Solutions
- 3
- Reaction score
- 1,043
Hello, I have a script here for an item that will give you a buff. There alot of these scripts around OTland however none of them have a check to see if that buff is currently active therefore you could use the item again by accident?
Sorry, I just solved this issue like right after I posted this xD
For those of you that have the same problem as me.
I was using
When I should have been using
Sorry, I just solved this issue like right after I posted this xD
For those of you that have the same problem as me.
I was using
Code:
if getCreatureCondition(cid, CONDITION_ATTRIBUTES) == FALSE then
When I should have been using
Code:
if getCreatureCondition(cid, CONDITION_ATTRIBUTES, 1) == FALSE then