hutin123 Posted September 5, 2012 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.
TwiX! Posted September 5, 2012 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)
hutin123 Posted September 5, 2012 Author 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?
HunT Posted September 5, 2012 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.
TwiX! Posted September 5, 2012 Posted September 5, 2012 Please read the Topic no one not will make scripts for you, for free
hutin123 Posted September 5, 2012 Author 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
CheiN Posted September 5, 2012 Posted September 5, 2012 i made that scripts, and u need getPlayerRank and setElementData
hutin123 Posted September 6, 2012 Author Posted September 6, 2012 ok. show me pls show me the full code, like 1 resouce
TwiX! Posted September 6, 2012 Posted September 6, 2012 https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/Writing_Gamemodes
hutin123 Posted September 7, 2012 Author 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.
CheiN Posted September 7, 2012 Posted September 7, 2012 WE CANNOT MAKE YOU THE CODE, IF WE MAKE IT U WILL NOT LEARN.. Read introduction to scripting
hutin123 Posted September 9, 2012 Author 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?
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