16.02.2013, 01:48
Currently I have...
My problem is trying to determine if there's a space in between inputtexts.. Which is really hard to explain; I mean like..
In the dialog, I would input "0.0 10.0 20.0" if i wanted to go to 0.0, 10.0, 20.0. How would I go about splitting it up from the inputtext? God that's hard to explain..
pawn Код:
case DIALOG_GOTOPOS:
{
if ( response )
{
if( IsFloat ( inputtext ) )
{
}
else
{
if( strcmp ( inputtext, "immigration", false ) == 0 )
{
SetPlayerPos ( playerid, 1489.1519, -1145.5687, 24.0781 );
SetPlayerFacingAngle ( playerid, 91.3527 );
}
}
}
}
In the dialog, I would input "0.0 10.0 20.0" if i wanted to go to 0.0, 10.0, 20.0. How would I go about splitting it up from the inputtext? God that's hard to explain..