SA-MP Forums Archive
SetPlayerAttachedObject bug. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetPlayerAttachedObject bug. (/showthread.php?tid=392768)



SetPlayerAttachedObject bug. - Freak@ - 15.11.2012

Good ta having a strange bug in my gm, when I use the arrow SetPlayerAttachedObject the object, but it vanishes in even seconds, without the function I use to remove it, which can be thought there might be conflicts, I use only one SetPlayerAttachedObject function.

I have only this function with the gm SetPlayerAttachedObject.
SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0 ,-0.11,0.0,-90.0,90.0);


Re: SetPlayerAttachedObject bug. - [KHK]Khalid - 15.11.2012

Check all the RemovePlayerAttachedObject calls in your script up.


Re: SetPlayerAttachedObject bug. - Freak@ - 15.11.2012

RemovePlayerAttachedObject not have my gm I to not using any fs.


Re: SetPlayerAttachedObject bug. - Freak@ - 15.11.2012

Tinha que ficar desse geito aqui:

had to stay that way:


but ta thereby:



Re: SetPlayerAttachedObject bug. - Freak@ - 15.11.2012

/


Re: SetPlayerAttachedObject bug. - Ballu Miaa - 16.11.2012

The Offset's your using are wrong i guess! Check them and correct them! Else Put every offset as 0.00 and then check!


Re: SetPlayerAttachedObject bug. - Freak@ - 16.11.2012

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
The Offset's your using are wrong i guess! Check them and correct them! Else Put every offset as 0.00 and then check!
Sorry, we did not understand what do you want Diser, can you explain better.


Re: SetPlayerAttachedObject bug. - Ballu Miaa - 16.11.2012

Change this:
pawn Код:
SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0 ,-0.11,0.0,-90.0,90.0);
To This:
pawn Код:
SetPlayerAttachedObject(playerid, 4, 18642, 7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 1, 1);
and check that the object is attaching to the player! And correct the offset's according to your usage!


Re: SetPlayerAttachedObject bug. - Freak@ - 16.11.2012

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
Change this:
pawn Код:
SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0 ,-0.11,0.0,-90.0,90.0);
To This:
pawn Код:
SetPlayerAttachedObject(playerid, 4, 18642, 7, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1, 1, 1);
and check that the object is attaching to the player! And correct the offset's according to your usage!
Nгo й esse o poblema.
the bug and just like that here: [ame]http://www.youtube.com/watch?v=41fJfFvLWUk[/ame]


Re: SetPlayerAttachedObject bug. - Sting. - 16.11.2012

Thanks for providing a video.