Object is removed after it is set
#1

Hello I have big problem with SetPlayerAttachedObject.

After I set it, it is removed almost instantly,about one second after it is set up.

Here is the code for debug.

Code:
YCMD:edit(playerid, params[], help) 
{
	SetPlayerAttachedObject(playerid, 0, 1550, 1, -0.008714, -0.188819, -0.026564, 159.138153, 86.558647, 0.000000, 1.005565, 0.984468, 1.014210);
	//EditAttachedObject(playerid, 0);
	return 1;
}
Reply
#2

Quote:
Originally Posted by Dolke
View Post
Hello I have big problem with SetPlayerAttachedObject.

After I set it, it is removed almost instantly,about one second after it is set up.

Here is the code for debug.

Code:
YCMD:edit(playerid, params[], help) 
{
	SetPlayerAttachedObject(playerid, 0, 1550, 1, -0.008714, -0.188819, -0.026564, 159.138153, 86.558647, 0.000000, 1.005565, 0.984468, 1.014210);
	//EditAttachedObject(playerid, 0);
	return 1;
}
Search in your gamemode "RemovePlayerAttachedObject", maybe one of them is in timer?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)