SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 14/06/2013, 06:22 PM   #1
InTeL_cOrE_i7
Big Clucker
 
Join Date: Oct 2012
Posts: 50
Reputation: -25
Default how to remove objectes

how, when a player teleports, when they teleport to a certain place, lets say, /glassjump, when they type that command it create the objects and when they use /exit it removes the objects, but only the glassjump objects
InTeL_cOrE_i7 is offline   Reply With Quote
Old 14/06/2013, 06:24 PM   #2
faff
Huge Clucker
 
Join Date: Mar 2012
Location: Belgium
Posts: 368
Reputation: 16
Default Re: how to remove objectes

DestroyObject(objid);
__________________
Code:
faff is offline   Reply With Quote
Old 14/06/2013, 06:24 PM   #3
Tamer
High-roller
 
Tamer's Avatar
 
Join Date: Nov 2011
Location: Turkey
Posts: 1,101
Reputation: 172
Default Re: how to remove objectes

You must assign a variable for each glassobject,then use the DestroyObject(objectid); function

Example:

new glassobject;

glassobject == CreateObject(....)

DestroyObject(glassobject);
__________________
The three stages of truth:

- Ridicule.
- Violent opposition.
- Acceptance.


Quote:
The greatest hypnotist on the planet Earth is an oblong box in the corner of the room. It is constantly telling us what to believe is real. If you can persuade people that what they see with their eyes is what there is to see you've got them. you know because they'll laugh in your face of an explanation that portrays the biggest picture of what's happening... and they have.
Tamer is offline   Reply With Quote
Old 14/06/2013, 06:25 PM   #4
InTeL_cOrE_i7
Big Clucker
 
Join Date: Oct 2012
Posts: 50
Reputation: -25
Default Re: how to remove objectes

okay thx guys
InTeL_cOrE_i7 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
Remove? N0FeaR Scripting Help 2 15/09/2012 01:07 PM
((REMOVE)) Unknown1195 Scripting Help 0 23/04/2012 10:07 AM
How can i Remove this ? park4bmx Help Archive 2 21/02/2011 11:21 PM
REMOVE PLEASE armyoftwo Help Archive 0 09/04/2010 02:41 PM
Please REMOVE TheNotorius Help Archive 7 22/11/2009 05:55 AM


All times are GMT. The time now is 05:00 AM.


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