Jump to content

im good?


CheiN

Recommended Posts

Posted
exports.dxscoreboard:scoreboardAddColumn( "Top Times" ) 
function tts ( 1, vehiclechange, hunter ) 
    setElementData ( player, "Top Times", + 1 ) 
end 
addEventHandler ( "onPlayerPickUpRacePickup", tts ) 

¿im good? i think that nope, so if im bad Can help me?

Thx and srry for take your time

My scripts: toptimes on scoreboard (server21)

Screen on login(scren)

Score on scoreboard (score)

Posted

Arguments cannot be numbers.

function tts ( 1, vehiclechange, hunter ) -- the 1. 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
Arguments cannot be numbers.
function tts ( pickupID, vehiclechange, hunter ) -- the 1. 

i use should use that?

My scripts: toptimes on scoreboard (server21)

Screen on login(scren)

Score on scoreboard (score)

Posted

I guess so, where's 'player' defined?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted (edited)
exports.dxscoreboard:scoreboardAddColumn( "Top Times" ) 
function tts ( pickupID, vehiclechange, hunter ) 
    setElementData ( player, "Top Times", + 1 ) 
end 
addEventHandler ( "onPlayerPickUpRacePickup", tts, root ) 

let me try i want learn.... U-U

Edited by Guest

My scripts: toptimes on scoreboard (server21)

Screen on login(scren)

Score on scoreboard (score)

Posted

Is that a kind of joke? it's the same script with the same problems.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

change player to source.

you cannot collection none, you need to use geElementData to collection with (+1).

CiTLh.png
Posted

Try this :

exports.scoreboard:scoreboardAddColumn( "Top Times")  
function someoneReachedHunter(number, sort, model) 
    if sort == "vehiclechange" and model == 425 then 
    top = getElementData(source,"Top Times") or 0 
        setElementData(source,"Top Times",top+1) 
    end 
end 
addEvent("onPlayerPickUpRacePickup",true) 
addEventHandler("onPlayerPickUpRacePickup",getRootElement(),someoneReachedHunter) 

INVINCIBLE's Script Page:

My Scripts Page

---------------------

User Profile script : %100 - Show pictures and pm me :)

User profile system (1)

User profile system (2)

-------------

Need paid scripter just pm me i will accept every job!

Posted

the invisible reply is good and work but when i pick the hunter, when i enter in a hunter pickup cloud it appears in scoreboard: top times: 3 or 4 or 5 etc

PM: sorry for 2ble posting

My scripts: toptimes on scoreboard (server21)

Screen on login(scren)

Score on scoreboard (score)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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