first: I want a function that checks whether the player has a certain monster summoned "as wolf or rat, you know?"
looking at the lua_functions i found this ...
getCreatureSummons(cid)
but I dont know as usal =(
i try that
getCreatureSummons(cid) == wolf
getCreatureSummons(cid) == "wolf"
getCreatureSummons(cid, "wolf")
getCreatureSummons(cid) == (getCreatureName("wolf"))
getCreatureSummons(cid, getCreatureName("wolf"))
but none of them work
second: I dont have idea of how to create a function to remove a summon XD
third: if someone have a script lua tfs manual or tutorial "no noob tutorial" please post here
i need it t mutch
looking at the lua_functions i found this ...
getCreatureSummons(cid)
but I dont know as usal =(
i try that
getCreatureSummons(cid) == wolf
getCreatureSummons(cid) == "wolf"
getCreatureSummons(cid, "wolf")
getCreatureSummons(cid) == (getCreatureName("wolf"))
getCreatureSummons(cid, getCreatureName("wolf"))
but none of them work
second: I dont have idea of how to create a function to remove a summon XD
third: if someone have a script lua tfs manual or tutorial "no noob tutorial" please post here
i need it t mutch