Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Objects
BoU3A
Huge Clucker
Posts: 213
Threads: 77
Joined: Jul 2013
Reputation:
0
#1
28.11.2014, 01:42
How to give my objects id so i can destroy them by id sorry for my english
Find
Reply
AIped
Gangsta
Posts: 618
Threads: 31
Joined: Feb 2011
Reputation:
0
#2
28.11.2014, 09:08
You need to find the objects id in a map editor because you also need the coordinates of where that object
is located.
Then you can use the RemoveBuildingForPlayerFunction in your script.
Find
Reply
Jonesy96
Huge Clucker
Posts: 233
Threads: 57
Joined: Jun 2011
Reputation:
0
#3
28.11.2014, 09:21
If you need to remove an object that is there from GTA SA itself then do it as AIped post above.
If it's an object you've created in the script then you can do this:
Код:
myobject = CreateDynamicObject(2780, 2465.7588,-1690.2830,13.5115, 0.0, 0.0, 0.0, 100);
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help