16.02.2013, 02:14
Quote:
Something like..this? Would it work?
pawn Код:
|
EDIT: in case anyone was wondering, I got it working.
pawn Код:
case DIALOG_GOTOPOS:
{
if ( response )
{
if( strcmp ( inputtext, "immigration", false ) == 0 )
{
SetPlayerPos ( playerid, 1489.1519, -1145.5687, 24.0781 );
SetPlayerFacingAngle ( playerid, 91.3527 );
}
else
{
new
Float: xpos,
Float: ypos,
Float: zpos;
if( !sscanf( inputtext, "p<,>fff", xpos, ypos, zpos ) )
{
SetPlayerPos ( playerid, xpos, ypos, zpos );
}
}
}
}