Setting OBject Rotation
#1

Hey, i'm blackout
Here's what i want to happen, when they enter a NUMBER in the Dialog, it will rotate the sam object to the rotation they entered ( only side rotation, not x )
My Code

pawn Код:
if(listitem == 2) // SAm movement
            {
                ShowPlayerDialog(playerid,SAMMOVE,DIALOG_STYLE_INPUT,"Weapon Targetting Control ( Rotation )", "Enter the Rotation you want", "Move", "Cancel");
            }
pawn Код:
if(dialogid == SAMMOVE)
    {
        if(response)
        {
            if(listitem == 0)
            {
                SetObjectRot( sam, 0.000, 0.000, 0.000 );
            }
        }
    }
Reply


Messages In This Thread
Setting OBject Rotation - by Aira - 27.05.2012, 05:37
Re: Setting OBject Rotation - by ViniBorn - 27.05.2012, 05:50
Re: Setting OBject Rotation - by Aira - 27.05.2012, 05:51
Re: Setting OBject Rotation - by Aira - 27.05.2012, 06:54
Re: Setting OBject Rotation - by MP2 - 27.05.2012, 08:25
Re: Setting OBject Rotation - by Aira - 27.05.2012, 08:41

Forum Jump:


Users browsing this thread: 1 Guest(s)