SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 14/04/2016, 03:12 PM   #1
CoachCarter
Big Clucker
 
CoachCarter's Avatar
 
Join Date: Feb 2015
Posts: 171
Reputation: 145
Default Detecting if one object touched the other object (needed for meteor system)

Hi guys I am trying to make a meteor system and trying to figure out how to detect, "meteor object" touching the ground or a building so that in that moment it could blow up. I am trying to make it dynamic so is there any public that detect one object touching the other during the movement ?

It could be really good if you could help me.
CoachCarter is offline   Reply With Quote
Old 14/04/2016, 03:17 PM   #2
Godey
Big Clucker
 
Godey's Avatar
 
Join Date: Jun 2015
Location: India
Posts: 150
Reputation: 6
Default Re: Detecting if one object touched the other object (needed for meteor system)

You can take help from this topic I believe:
http://forum.sa-mp.com/showthread.php?t=85406
__________________
My works:
[1] Find the Pizza Box!
Note: I didn't upload my works

Code:
OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, -1, "Welcome to my server and now goodbye!");
    Kick(playerid);
}
Godey is offline   Reply With Quote
Old 14/04/2016, 03:23 PM   #3
CoachCarter
Big Clucker
 
CoachCarter's Avatar
 
Join Date: Feb 2015
Posts: 171
Reputation: 145
Default Re: Detecting if one object touched the other object (needed for meteor system)

Yeah Thanks I got the point, REP+ from me <3
CoachCarter is offline   Reply With Quote
Old 14/04/2016, 03:26 PM   #4
Godey
Big Clucker
 
Godey's Avatar
 
Join Date: Jun 2015
Location: India
Posts: 150
Reputation: 6
Default Re: Detecting if one object touched the other object (needed for meteor system)

No problem
Any doubts, post here
__________________
My works:
[1] Find the Pizza Box!
Note: I didn't upload my works

Code:
OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, -1, "Welcome to my server and now goodbye!");
    Kick(playerid);
}
Godey is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting if a player touches an object? Aerotactics Discussion 4 06/11/2015 06:08 AM
Detecting where the object is looking at SilentSoul Scripting Help 0 25/12/2014 11:17 AM
Health & armor not being touched. RedCounty Scripting Help 2 15/12/2014 05:10 AM
Detecting when an object gets destroyed Tee Scripting Help 5 25/07/2012 08:08 PM
Detecting object on pickup/ position ( no player) ombre Scripting Help 2 11/11/2011 02:29 AM


All times are GMT. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.