Server Map Help
#7

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;
}
Reply


Messages In This Thread
Server Map Help - by Raiden Dragneel - 29.05.2012, 09:18
Re: Server Map Help - by Legolas.W - 29.05.2012, 09:21
Re: Server Map Help - by Raiden Dragneel - 29.05.2012, 09:24
Re: Server Map Help - by JaKe Elite - 29.05.2012, 09:31
Re: Server Map Help - by iggy1 - 29.05.2012, 09:32
Re: Server Map Help - by Raiden Dragneel - 29.05.2012, 09:45
Re: Server Map Help - by iggy1 - 29.05.2012, 09:48
Re: Server Map Help - by Raiden Dragneel - 29.05.2012, 11:01

Forum Jump:


Users browsing this thread: 1 Guest(s)