SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 27/01/2020, 08:06 PM   #1
idcamn
Little Clucker
 
Join Date: Jan 2020
Posts: 3
Reputation: 0
Default Problem with actors

Hello! I am trying to create training zone. I want to give players the ability to train their shooting skills using actors, but it has some problems.

Just watch the video to understand what's happening. Actors receive hits even after I change their coordinates.

Not a big problem, but want to fix that.

https://www.youtube.com/watch?v=ufYsqEWmiwc
idcamn is offline   Reply With Quote
Old 27/01/2020, 09:03 PM   #2
xRadical3
Gangsta
 
xRadical3's Avatar
 
Join Date: May 2017
Location: Iran
Posts: 566
Reputation: 20
Default Re: Problem with actors

(This video is private)
What?
xRadical3 is offline   Reply With Quote
Old 27/01/2020, 10:22 PM   #3
idcamn
Little Clucker
 
Join Date: Jan 2020
Posts: 3
Reputation: 0
Default Re: Problem with actors

Fixed video link
idcamn is offline   Reply With Quote
Old 28/01/2020, 01:51 PM   #4
SiaReyes
Gangsta
 
Join Date: Mar 2019
Location: Coordinates X,Y,Z
Posts: 622
Reputation: 57
Default Re: Problem with actors

Destroy and Create again?
SiaReyes is offline   Reply With Quote
Old 28/01/2020, 02:10 PM   #5
Sasinosoft
Little Clucker
 
Sasinosoft's Avatar
 
Join Date: Jan 2020
Location: Tampa, FL
Posts: 27
Reputation: 1
Default Re: Problem with actors

If you want to delete an actor as soon as it gets shot, I think it's better if you destroy it, then create it again, as SiaReyes suggested. It's not an expensive operation.
Sasinosoft is offline   Reply With Quote
Old 28/01/2020, 04:00 PM   #6
idcamn
Little Clucker
 
Join Date: Jan 2020
Posts: 3
Reputation: 0
Default Re: Problem with actors

Yes, that helped, thanks!
idcamn 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
Actors problem TheArrow Scripting Help 0 02/08/2017 08:41 PM
problem with actors ShoortyFl Scripting Help 3 24/08/2016 12:31 AM
Problem with actors Julien Sirasor Server Support 2 17/09/2015 04:40 PM
Actors problem AndreiWow Scripting Help 3 04/09/2015 05:04 PM
Problem Actors norton2 Scripting Help 3 15/05/2015 07:57 AM


All times are GMT. The time now is 03:30 PM.


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