Mat101 Posted September 10, 2010 Share Posted September 10, 2010 Hey, 1st of all sorry if im spamming making topic's but only here i can get some help . 1.) How to make a moving object when a player is near the object i know it's moveObject but i dont know the function how to do when a player is near the object ?? 2.)How to make pickups with effect? Not like health/armour/guns, Example a teleport?? 3.) How to disable falling of bike, I know something that is Knockingofbike or .. something like that i need it properly? Thanks mates. I'll maybe post more questions here because i'm still new to lua (: Link to comment
Discord Moderators Zango Posted September 10, 2010 Discord Moderators Share Posted September 10, 2010 1) Create a Colshape a bit behind the object. For example if you want to move a gate, you'd create a Colshape behind it and use the event onElementColShapeHit, and move the gate. 2) Not so sure, but I think you can import the pickup image (should be in race resource), place it where you want, create a Colshape around it and trigger a function to teleport. There might be some other, more generic answer to this. 3) setPedCanBeKnockedOffBike Link to comment
Mat101 Posted September 10, 2010 Author Share Posted September 10, 2010 1) Create a Colshape a bit behind the object. For example if you want to move a gate, you'd create a Colshape behind it and use the event onElementColShapeHit, and move the gate. Explain a bit more? Link to comment
dzek (varez) Posted September 10, 2010 Share Posted September 10, 2010 No need to explain more. Need to try it by yourself. Check wiki pages for Colshape, Collision shape functions and onElementColShapeHit event - they are full of descriptions, examples, etc. And something for point #3. - Why don't just just search in wiki? Like that: https://wiki.multitheftauto.com/index.ph ... cked&go=Go Link to comment
Mat101 Posted September 11, 2010 Author Share Posted September 11, 2010 Ok Ok i got some to work. But as i said i will ask maybe more questions .. How to make if someone left the server it says ".. Has left The server" Link to comment
BinSlayer1 Posted September 11, 2010 Share Posted September 11, 2010 start resource "joinquit" Link to comment
Mat101 Posted September 13, 2010 Author Share Posted September 13, 2010 start resource "joinquit" Can you done that for me please (: ? Link to comment
dzek (varez) Posted September 13, 2010 Share Posted September 13, 2010 lol? type "start joinquit" in server console, or login as admin and do the same in game console ... he cant do that Link to comment
Mat101 Posted September 14, 2010 Author Share Posted September 14, 2010 Oh lol thanks i didn't understand him.. I will copy the script into the gm now (: Link to comment
dzek (varez) Posted September 14, 2010 Share Posted September 14, 2010 why copy? just start resource Link to comment
Mat101 Posted September 14, 2010 Author Share Posted September 14, 2010 Another question.. How to enable stunt bonus? Link to comment
BinSlayer1 Posted September 14, 2010 Share Posted September 14, 2010 https://wiki.multitheftauto.com/wiki/OnC ... tuntFinish I believe you can only detect stunts with this You'll have to script the points 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