Haha no sorry, started by never finished since I started my 1.0 rlmap
. And have't gotten any paid requests for it.
Haha no sorry, started by never finished since I started my 1.0 rlmap
@chiitus
--edit--
i fixed the event to work but without random rewards only with 1 reward
but try to fix the giveReward function
This work in tfs 1.0?
Someone has already tested?
Why not release it then?
Not really impossible.@chiitus - Was a link to hard to post, it's nearly impossible to find your post with that information.
[31/10/2014 10:28:16] [Error - CreatureScript Interface]
[31/10/2014 10:28:16] buffer:onPrepareDeath
[31/10/2014 10:28:16] Description:
[31/10/2014 10:28:16] [string "function giveReward(cid)..."]:14: attempt to index global 'rewards_random' (a nil value)
[31/10/2014 10:28:16] stack traceback:
[31/10/2014 10:28:16] [string "function giveReward(cid)..."]:14: in function 'giveReward'
[31/10/2014 10:28:16] [string "loadBuffer"]:82: in function <[string "loadBuffer"]:3>
[31/10/2014 10:28:16] > Broadcasted message: "Rush event acabou, o time vermelho ganhou!".
Ye , anyone help !!where are you our legends to fix those shitty bugs :S
@Limos
@Printer
@dominique120
@Evan
@imkingran
@Cykotitan
@Summ
let's give them a big shout to fix it just write your legend name with @
Code:[31/10/2014 10:28:16] [Error - CreatureScript Interface] [31/10/2014 10:28:16] buffer:onPrepareDeath [31/10/2014 10:28:16] Description: [31/10/2014 10:28:16] [string "function giveReward(cid)..."]:14: attempt to index global 'rewards_random' (a nil value) [31/10/2014 10:28:16] stack traceback: [31/10/2014 10:28:16] [string "function giveReward(cid)..."]:14: in function 'giveReward' [31/10/2014 10:28:16] [string "loadBuffer"]:82: in function <[string "loadBuffer"]:3> [31/10/2014 10:28:16] > Broadcasted message: "Rush event acabou, o time vermelho ganhou!".
help pleace1!!
Fourth: The reward now is based on chance, edit this part:
CREDITS:Code:function giveReward(cid) local hkz = math.random(1,100) if hkz <= 30 then doPlayerAddItem(cid,2160,10) doPlayerSendTextMessage(cid,25,"Nunca vá em um cassino: voce ganhou 100k.") elseif hkz > 30 and hkz <= 90 then doPlayerAddItem(cid,2160,30) doPlayerSendTextMessage(cid,25,"Joga na quina: voce ganhou 300k.") elseif hkz > 90 then doPlayerAddItem(cid,2640,1) doPlayerSendTextMessage(cid,25,"Cagou: voce ganhou uma soft boots.") end return true end
ChaitoSoft
Chiitus
its not easy to fix it as you know its semi hard for new ppl and please explain more what you mean with githup etcwhy dont you guys try to fix it by yourselves? i mean all info u need is in github tfs project and orts project