SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 14/07/2019, 08:12 PM   #1
ImNext
Big Clucker
 
ImNext's Avatar
 
Join Date: Jul 2018
Posts: 56
Reputation: 0
Default Paste object coordinates

Is there any method to get all the coordinates of a given object present in GTA?

Example: I want to put a Text3DLabel on all objects ID 1000(exemple), how to get the coordinates automatically without having to go to the object inside the game and pick it up?
ImNext is offline   Reply With Quote
Old 14/07/2019, 08:44 PM   #2
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 272
Reputation: 22
Default Re: Paste object coordinates

Uhm... I'm a little bit confused by that question, but if you have an objectid, you can use:
Without streamer:
https://wiki.sa-mp.com/wiki/GetObjectPos
With streamer:
https://github.com/samp-incognito/sa...tives-(Objects)
(GetDynamicObjectPos)
Plastikmensch is offline   Reply With Quote
Old 14/07/2019, 08:54 PM   #3
ImNext
Big Clucker
 
ImNext's Avatar
 
Join Date: Jul 2018
Posts: 56
Reputation: 0
Default Re: Paste object coordinates

No, i wanted to get coordinates of objects from the GTA itself, not objects created by SA-MP or Streamer. Sorry my English, I think I can understand that I do not speak English, haha.
ImNext is offline   Reply With Quote
Old 14/07/2019, 09:07 PM   #4
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 272
Reputation: 22
Default Re: Paste object coordinates

Okay, as far as I know that is not possible.
Unless you or someone else puts the work in and recreates the entire map and saves the coordinates.
Plastikmensch 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
How to get coordinates in center of an object? Hantex. Scripting Help 6 01/07/2014 11:48 AM
Checking if object coordinates equal to certain coordinates Jonesy96 Scripting Help 7 05/12/2013 06:00 PM
Attached object coordinates sabretur Scripting Help 1 18/12/2011 06:43 PM
[HELP] Object coordinates [SFA]SpiRRiT Help Archive 0 24/04/2011 06:35 PM
[HELP] Object coordinates bug knickknack Help Archive 0 31/03/2010 11:20 PM


All times are GMT. The time now is 03:43 AM.


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