SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/02/2017, 06:09 PM   #1
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Player Attached Object remove after spawn

in my fs i added some SetPlayerAttachedObject to player in OnPlayerConnect.
when player connected to the server in RequestClass menu show objects but when he spawn the object remove from him.
MRM is offline   Reply With Quote
Old 13/02/2017, 09:17 PM   #2
Runn3R
Huge Clucker
 
Runn3R's Avatar
 
Join Date: Dec 2013
Location: Croatia, Split
Posts: 420
Reputation: 36
Default Re: Player Attached Object remove after spawn

There is probably some code that removes the actual objects when the player spawns in.
Runn3R is offline   Reply With Quote
Old 14/02/2017, 01:57 PM   #3
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: Player Attached Object remove after spawn

Quote:
Originally Posted by Runn3R View Post
There is probably some code that removes the actual objects when the player spawns in.
No.i check it.
MRM is offline   Reply With Quote
Old 14/02/2017, 03:42 PM   #4
Rdx
Banned
 
Join Date: Sep 2011
Posts: 168
Reputation: 27
Default Re: Player Attached Object remove after spawn

Are you using TogglePlayerSpectating?
Rdx is offline   Reply With Quote
Old 14/02/2017, 04:52 PM   #5
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: Player Attached Object remove after spawn

Quote:
Originally Posted by Rdx View Post
Are you using TogglePlayerSpectating?
Yes, i use in OnPlayerDisconnect - OnPlayerDeath - CMD: spec - CMD: specoff. (in gamemode)

My Player Attached Object script is filterscript.
MRM is offline   Reply With Quote
Old 15/02/2017, 02:57 PM   #6
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: Player Attached Object remove after spawn

UP.............
MRM is offline   Reply With Quote
Old 19/02/2017, 01:12 PM   #7
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: Player Attached Object remove after spawn

Dump
MRM is offline   Reply With Quote
Old 19/02/2017, 05:55 PM   #8
Flamehaze7
Big Clucker
 
Flamehaze7's Avatar
 
Join Date: Feb 2016
Posts: 132
Reputation: 10
Default Re: Player Attached Object remove after spawn

Try to attach again the object in: "OnPlayerSpawn"
Flamehaze7 is offline   Reply With Quote
Old 20/02/2017, 10:18 AM   #9
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: Player Attached Object remove after spawn

Quote:
Originally Posted by Flamehaze7 View Post
Try to attach again the object in: "OnPlayerSpawn"
Why attach object in every player spawn?

This problem is only in filterscript.(You can test it)
MRM 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
How to remove attached object? Lajko1 Scripting Help 15 05/11/2013 07:15 PM
how to save the size of attached object after player edit attached object Chrisli520 Scripting Help 1 18/10/2013 10:12 PM
Attached Player Object remove after death/spawn? kbalor Scripting Help 4 10/09/2012 11:59 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 08:11 AM.


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