OnPlayerEditAttachedObject does not callback
#1

Can anybody confirm that OnPlayerEditAttachedObject is working at the moment?

Thats my code and i dont get the Test Message

Code:
 public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{

		 SendClientMessage(playerid, 0xFF0000FF, "Test");
                 if(0.0 < fScaleX <=  1.5 || 0.0 <  fScaleY <=  1.5 || 0.0 < fScaleZ <=  1.5)
		  {
			SendClientMessage(playerid, 0xFF0000FF, "* Dein Item wird zu groЯ oder zu klein!");
			new item;
			item = GetPVarInt(playerid,"brille");
			SetPlayerAttachedObject(playerid, 3, item, 2, 0.201, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, -1);
			EditAttachedObject(playerid, 3); // Edit again

		  }
		if(0.0 < fOffsetX <= 0.5 || 0.0 < fOffsetY <= 0.5 || 0.0 < fOffsetZ <= 0.5)
		  {
			SendClientMessage(playerid, 0xFF0000FF, "* Dein Item wird zu groЯ oder zu klein!");
			new item;
			item = GetPVarInt(playerid,"brille");
			SetPlayerAttachedObject(playerid, 3, item, 2, 0.201, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, -1);
			EditAttachedObject(playerid, 3); // Edit again

		  }
}
thx
Reply
#2

I had same problem where some streamer callbacks were not called at all.
I fixed this by upgrading mysql plugin from R39-2 to R39-4 after i saw changelog for the plugin "bug-fix: incompatibility with plugins using the sampgdk, where callbacks sometimes aren't called".
Reply
#3

I now idea
Reply
#4

thanks, but i dont use the mysql plugin, its just in an filterscript including <a_samp>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)