SetPlayerAttachedObject problem :( - 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 problem :( (
/showthread.php?tid=479937)
SetPlayerAttachedObject problem :( -
PawnoQ - 08.12.2013
hello,
i used slice's FS to get positions for objects i want to make for players.
But when i go to server and make attach the object doesnt appear at all so where is problem?

is use it like this:
pawn Код:
//how i use it
SetPlayerAttachedObject(playerid, 0, 3026, 1, -0.150000, -0.100000, 0.000000, 0.000000, 0.000000, 0.000000);
//how the FS saved the object position
SetPlayerAttachedObject( playerid, 0, 3026, 1, -0.150000, -0.100000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 );
I just removed the last 3 flaot amounts as they are optional or?
But why does object not appear?
I got server on samp 0.3x so this newer object must work.
This e.g. is working for me but the positions i get from the slice FS object dont work
pawn Код:
//this works
SetPlayerAttachedObject(playerid, 0, 19036, 2, 0.107, 0.020, 0.0, 90, 90, 0);
Please some one can help, i will +rep u
Please
Re: SetPlayerAttachedObject problem :( -
PawnoQ - 08.12.2013
sorry for double post but i think this is SAMP bug!
It works fine with indexes 0-6 but doesnt work with indexes 7-9.
Can someone explain or confimr this?
I have samp 0.3x so that is not the problem
Re: SetPlayerAttachedObject problem :( -
cessil - 08.12.2013
it'd help if you show the script where you attach it
Re: SetPlayerAttachedObject problem :( -
PawnoQ - 08.12.2013
i found bug sorry