• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help with safe box system
#1
I'm trying to create a closed and open door safe box?system.

I would like to be able to create a safe box anywhere and automatically have the door positioned correctly.

Does anyone know the correct calculation for this?


PHP Code:
new safe =?CreateDynamicObject(19618414.470702537.359139.45900,? 0.000000.0000090.00000);
new 
door =?CreateDynamicObject(19619414.704012536.938489.45800,? 0.000000.0000090.00000); 

The function I intend to use:
PHP Code:
stock CreateSafeBox(Float:px,Float:py,Float:pz,Float:rz)
{
CreateDynamicObject(pxpypz0.00.0rz);//Safe
CreateDynamicObject(pxpypz0.00.0rz);//Door
return 1;

  Reply


Messages In This Thread
Help with safe box system - by JR_Junior - 2021-06-16, 09:49 PM
RE: Help with safe box system - by Awide - 2021-06-17, 07:52 PM
RE: Help with safe box system - by JR_Junior - 2021-06-17, 08:21 PM
RE: Help with safe box system - by Kwarde - 2021-06-17, 09:48 PM
RE: Help with safe box system - by Radical - 2021-06-18, 01:11 AM
RE: Help with safe box system - by JR_Junior - 2021-06-18, 03:22 PM
RE: Help with safe box system - by PutuSuhartawan - 2021-06-19, 01:08 AM
RE: Help with safe box system - by JR_Junior - 2021-06-19, 11:52 PM
RE: Help with safe box system - by Kwarde - 2021-06-20, 08:57 PM

Forum Jump: