Jump to content

racewin help :D


raulrobi

Recommended Posts

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?

Link to comment
addEvent("onPlayerFinish",true)
addEventHandler("onPlayerFinish",getRootElement(),
function (rank,finishtime)
if rank == 1 then
givePlayerMoney(source,350)
elseif rank == 2 then
givePlayerMoney(source,100)
elseif rank == 3 then
givePlayerMoney(source,50)
end
end
)

And you forgot about 'elseif' :wink:

Link to comment

Ok, im not going to fight or post to this topic anymore. I dont want to spam this topic.

But I got some proofs

HERE you posted a stolen script

https://forum.multitheftauto.com/viewtopic.php?f=91&t=27383

Here:

this doesnt work (i open notepad and paste in it then i do save as then i type roll.lua)

function roll(player,comd)

local roll = math.random(1,4)

if roll == 1 then outputChatBox("u won blablabla")

elseif roll == 2 then outputChatBox("u lost blablabla")

elseif roll == 3 then setPlayerMuted(source,true); setTimer(function() setPlayerMuted(source,false) end,1,30000)

elseif roll == 4 then outputChatBox("u win blablabla")

addCommandHandler("roll",roll)

end

end

HERE:

word perfect i just added it myself

Here's some proofs about your "steals"

And, these were first five topics what i even looked, im too lazy to get more "proof" about you.

I don't want to be bad for you or something, but you just need to do something by yourself and to no copy scripts what other users made.

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...