Andréew
Humble mapper.
Hey boys and girls.
I need your help with making a script that should be fairly easy for one who knows what the heck ya doing
alright lets get to it.
i need a script kind of like this
(not my code, credits to @andypsylon)
however i want the script to give you mount id "28" with a small chance to get mount id "33" instead.
using TFS 1.2
Thank you
I need your help with making a script that should be fairly easy for one who knows what the heck ya doing
alright lets get to it.
i need a script kind of like this
(not my code, credits to @andypsylon)
Code:
[LIST=1]
[*]
[*]local c = {17, 22, 23, 24, 25}
[*]function onUse(cid, item, fromPosition, itemEx, toPosition)
[*] if doRemoveItem(item.uid, 1) then
[*] return doPlayerAddMount(cid, c[math.random(#c)])
[*] end
[*]end
[*]
[/LIST]
however i want the script to give you mount id "28" with a small chance to get mount id "33" instead.
using TFS 1.2
Thank you