07.07.2011, 11:51
Hi all...i created a FS for me with SendRconCommand's InGame with dialogs...
and i have a problem he don't set that HostName what i write in Dialog Input...
Here is the Dialog response
what is the problem?
and i have a problem he don't set that HostName what i write in Dialog Input...
Here is the Dialog response
pawn Код:
if ( dialogid == D4 )
{
if ( response == 1 )
{
if ( strlen( inputtext ) )
{
if ( strlen( inputtext ) > 0 && strlen( inputtext ) < 12 )
{
if ( IsPlayerConnected( playerid ) )
{
new str[ 40 ];
format( str, 40,"mapname %s", strlen( inputtext ) );
SendRconCommand( str );
}
}
}
}
}