hutin123 Posted September 5, 2012 Share Posted September 5, 2012 Hi guys! i'm new here. Anybody can help me this? If get hunter in Race DM will get money and points, i had column Money but no have a points column. Thank you. Link to comment
TwiX! Posted September 5, 2012 Share Posted September 5, 2012 function hunter(number,sort,model) if sort == "vehiclechange" then if model == 425 then --do something end end end addEventHandler("onPlayerPickUpRacePickup",root,hunter) Link to comment
hutin123 Posted September 5, 2012 Author Share Posted September 5, 2012 can you show me details, if i want this: Get hunter will earn 2000$ and 2 points Where i put that code? Link to comment
HunT Posted September 5, 2012 Share Posted September 5, 2012 can you show me details, if i want this:Get hunter will earn 2000$ and 2 points Where i put that code? u have the database with table cash and points? Post here the name if u have this. Link to comment
TwiX! Posted September 5, 2012 Share Posted September 5, 2012 Please read the Topic no one not will make scripts for you, for free Link to comment
hutin123 Posted September 5, 2012 Author Share Posted September 5, 2012 I had it and just call it's "Money" and "Points". What do I do next? And pls tell me how to win the race of get hunter too. Ty Link to comment
CheiN Posted September 5, 2012 Share Posted September 5, 2012 i made that scripts, and u need getPlayerRank and setElementData Link to comment
hutin123 Posted September 6, 2012 Author Share Posted September 6, 2012 ok. show me pls show me the full code, like 1 resouce Link to comment
TwiX! Posted September 6, 2012 Share Posted September 6, 2012 https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/Writing_Gamemodes Link to comment
hutin123 Posted September 7, 2012 Author Share Posted September 7, 2012 Sorry. I'm noob script lua ( and can u tell me how to edit the name of column (change language for it) pls. Link to comment
TwiX! Posted September 7, 2012 Share Posted September 7, 2012 You can learn it by yourself Link to comment
CheiN Posted September 7, 2012 Share Posted September 7, 2012 WE CANNOT MAKE YOU THE CODE, IF WE MAKE IT U WILL NOT LEARN.. Read introduction to scripting Link to comment
hutin123 Posted September 9, 2012 Author Share Posted September 9, 2012 function hunter(number,sort,model) if sort == "vehiclechange" then if model == 425 then --do something end end end addEventHandler("onPlayerPickUpRacePickup",root,hunter) I try this, thx but if i get many hunter same time, the money will be x2, x3,.... even x10 . OMG, can fix it? 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