29.05.2012, 09:48
Its a function use it with any command processor. Here's a crude example.
pawn Код:
SetMapName( szMapName[] )
{
new
szMapCmd[ 64 ];
format( szMapCmd, sizeof( szMapCmd ), "mapname %s", szMapName );
SendRconCommand( szMapCmd );
}
COMMAND:mapname(playerid, params[])
{
if( !isnull(params) )
{
if( IsPlayerAdmin(playerid) )
{
SetMapName( params );
}
}
return 1;
}

