• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Texture Studio doors not opening
#2
Use this function to rotate a object.
PHP Code:
stock RotateObject(objectidFloat:rotXFloat:rotYFloat:rotZFloat:Speed)
{
? ? new 
Float:XFloat:YFloat:ZFloat:SpeedConverted floatmul(Speed0.01);
? ? 
GetObjectPos(objectidXYZ);
? ? 
SetObjectPos(objectidXYfloatadd(Z0.01));
? ? 
MoveObject(objectidXYfloatsub(Z0.01), SpeedConvertedrotXrotYrotZ);
? ? return 
1;

  Reply


Messages In This Thread
Texture Studio doors not opening - by Kevinas - 2021-03-05, 07:30 AM
RE: Texture Studio doors not opening - by Radical - 2021-03-05, 08:38 AM

Forum Jump: