SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/07/2020, 07:01 PM   #1
JoelNyiTz
Big Clucker
 
JoelNyiTz's Avatar
 
Join Date: Apr 2018
Location: OakVille
Posts: 102
Reputation: 0
Default [HELP]Remove attached objetcs in vehicle

Hello, guys i did a command to remove all attach objects in vehicle but its not working (just is removed one at a time), can u help me with??

I'm trying to remove 20 objects, i have this lines related with that

Code:
for(new i = (LOG_LIMIT - 20); i >= 0; i--)
	    {
	        if(IsValidDynamicObject(LogObjects[id][i]))
    	    {
		DestroyDynamicObject(LogObjects[id][i]);
		LogObjects[id][i] = -20;
__________________
----------------------

Scripter:

Mapper:

Projeto:

----------------------
JoelNyiTz is offline   Reply With Quote
Old 03/07/2020, 07:58 AM   #2
Salik
Big Clucker
 
Salik's Avatar
 
Join Date: Aug 2015
Location: Russia
Posts: 77
Reputation: 0
Default Re: [HELP]Remove attached objetcs in vehicle

Can i see LOG_LIMIT ?
Salik 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 attached object MerryDeer Scripting Help 1 10/09/2016 07:59 AM
Unable to Remove Attached Object from vehicle iAnonymous Scripting Help 2 20/08/2014 05:04 AM
How to remove attached object? Lajko1 Scripting Help 15 05/11/2013 07:15 PM
Help With Remove Attached Object vehicle morocco Scripting Help 5 31/03/2013 09:19 AM
How would I remove object from player after it being attached aaronwelsh Scripting Help 5 09/07/2012 08:38 PM


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


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