streamer by Incognito weird act
#1

When i try to rotate streamer created object , he just vanish(gone)....

Code:
stock test(objectid,rot)
{

	new Float:x,Float:y,Float:z;
	if (IsValidDynamicObject(objectid))
	{
	GetDynamicObjectRot(objectid,x,y,z);
	z = z - rot;
	SetDynamicObjectRot(objectid,x,y,z);
	}
}
is this correct way to do it ?

Can any one test this code for me if you using a stremer ?
Reply
#2

I'm actually not sure as to whether or not pawno/samp understands negative angles.

Might also be the object. Landing strips for example are invisible on the opposite side and palm trees can not be rotated on a certain axis.
Reply
#3

test(objectid,rot)
->
test(objectid, Float:rot)
Reply
#4

Code:
stock test(objectid)
{

	new Float:x,Float:y,Float:z;
	if (IsValidDynamicObject(objectid))
	{
	GetDynamicObjectRot(objectid,x,y,z);
	SetDynamicObjectRot(objectid,x,y,z);
	}
}
Same stuff just object vanish ....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)