when i want to be the first to become 350
the 2nd 100
and the 3th become 50 than
1.addEvent("onPlayerFinish",true)
2.addEventHandler("onPlayerFinish",getRootElement(),
3. function (rank,finishtime)
4. if rank == 1 then
5. givePlayerMoney(source,350)
6. if rank == 2 then
7. givePlayerMoney(source,100)
8. if rank == 3 then
9. givePlayerMoney(source,100)
10. end
11. end
12. )
it is good?