kevin11 Posted May 7, 2010 Share Posted May 7, 2010 (edited) how do i get points for race Edited May 7, 2010 by Guest Link to comment
kevin11 Posted May 7, 2010 Author Share Posted May 7, 2010 points for winning a race (DD/DM) anyone Link to comment
dzek (varez) Posted May 7, 2010 Share Posted May 7, 2010 dude!! this is 3rd or something topic about the same problem.. and for 2 scripts you said that it was working, then after 2 days you are creating new topic about that problem, that was fixed.. whats wrong with you? https://forum.multitheftauto.com/viewtop ... 7&start=15 and sorry, if you dont know how to implement WORKING examples into your scripts, better try to read something https://wiki.multitheftauto.com/ Link to comment
kevin11 Posted May 7, 2010 Author Share Posted May 7, 2010 no no i want a script that gives you points? its not about the money:D Link to comment
dzek (varez) Posted May 7, 2010 Share Posted May 7, 2010 anyway: 1. no need for another topic 2. you don't want to learn anything, am i right? you didnt make anything in lua. we are always doing the job for you.. this forum is for helping, not doing others job. have you ever open wiki.multitheftauto.com? lua editor? try to make anything? Link to comment
kevin11 Posted May 7, 2010 Author Share Posted May 7, 2010 ok... yes i tried no i didnt succeed yes i want someone to do it for me Link to comment
Castillo Posted May 7, 2010 Share Posted May 7, 2010 ok... yes i tried no i didnt succeed yes i want someone to do it for me I guess u want the moon too, learn to script, then if u fail post your code and we will try to help u. Link to comment
Nich Posted May 7, 2010 Share Posted May 7, 2010 If you want someone to do it for you, then you'll better get your wallet out. Link to comment
Castillo Posted May 7, 2010 Share Posted May 7, 2010 anyone can hlp me? this is a kind of example for you localPlayer = getLocalPlayer() function addColumns() exports.scoreboard:scoreboardAddColumn("Points") setElementData(localPlayer,"Points",0) end addEventHandler("onClientResourceStart",getResourceRootElement(),addColumns) function addPoints() setElementData(getLocalPlayer(),"Points",tonumber(getElementData(getLocalPlayer(),"Points"))+100) end addCommandHandler("add",addPoints) function takePoints() setElementData(getLocalPlayer(),"Points",tonumber(getElementData(getLocalPlayer(),"Points"))-10) end addEventHandler ( "onClientPlayerWasted", getLocalPlayer(), takePoints ) this will give u 100 points if u do /add and will take 10 points if u die. Link to comment
dzek (varez) Posted May 7, 2010 Share Posted May 7, 2010 now make for him saving that data, and loading, and buying things etcetcetc (i tihnk he will get these ideas soon, so prepare for another topic) Link to comment
Jason_Gregory Posted May 7, 2010 Share Posted May 7, 2010 kevin you should try to search at the Wikipedia for Accounts - Serverside and you find 12271934728240121894 examples Link to comment
robhol Posted May 7, 2010 Share Posted May 7, 2010 Just making a quick note. Wiki. Not Wikipedia. Wikipedia is a wiki in the form of an encyclopedia. A wiki is not called "a wikipedia" unless it actually is Wikipedia.. Link to comment
kevin11 Posted May 8, 2010 Author Share Posted May 8, 2010 varez please dont jugde people, i got cash save and blabla Link to comment
dzek (varez) Posted May 8, 2010 Share Posted May 8, 2010 varez please dont jugde people, i got cash save and blabla but you didnt make it by yourself if so - there will be no problem to make "points" too okay, im silent now Link to comment
Xeno Posted May 9, 2010 Share Posted May 9, 2010 You could make a label at the side of the screen saying somthing like "points" and make a marker at the end of the race, then do on marker hit and make it so it makes the label "points:1" and then do destroyElement so no one else can get the point. Link to comment
dzek (varez) Posted May 10, 2010 Share Posted May 10, 2010 You could make a label at the side of the screen saying somthing like "points" and make a marker at the end of the race, then do on marker hit and make it so it makes the label "points:1" and then do destroyElement so no one else can get the point. why doing so weird way, if theres event after race finish? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now