27.05.2012, 05:37
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
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 );
}
}
}