psychosisneamia
~Beginner~
- Joined
- Jun 7, 2012
- Messages
- 162
- Reaction score
- 7
Hello, I have a request for you lovely people. I need a script that when you use a certain item a monster is spawned. The script i used removes the item but no monster spawns
Here is the script I tried to make.
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreateMonster("Giant Spider",toPosition)
doRemoveItem(item.uid,1)
return TRUE
end
Can anyone fix it for me ;D I looked in the search bar and only found scripts where it summons a monster to a X pos which i don't want. I want this monster to spawn to the exact location you use the item!
Thanks!!!
Here is the script I tried to make.
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreateMonster("Giant Spider",toPosition)
doRemoveItem(item.uid,1)
return TRUE
end
Can anyone fix it for me ;D I looked in the search bar and only found scripts where it summons a monster to a X pos which i don't want. I want this monster to spawn to the exact location you use the item!
Thanks!!!