SendRconCommand
#6

PHP код:
CMD:changercon(playersparams)
{
     If(!
IsPlayerAdmin(playerid)) return 0;
     new 
pass[180];    
     if(
sscanf(params"s[180]"pass)) return SendClientMessage(playerid, -1"USAGE:/changercon <password>") ;
    new 
str[180];
    
format(strsizeof(str), "rcon_password %s"pass);
    
SendRconCommand(str) ;
    
SendClientMessage(playerid, -1"Password rcon changed ") ;
    return 
1;

Reply


Messages In This Thread
SendRconCommand - by EzeGODezE - 04.04.2018, 01:54
Re: SendRconCommand - by OmerKhan - 04.04.2018, 01:56
Re: SendRconCommand - by EzeGODezE - 04.04.2018, 02:04
Re: SendRconCommand - by UFF - 04.04.2018, 02:31
Re: SendRconCommand - by jlalt - 04.04.2018, 03:05
Re: SendRconCommand - by Osamakurdi - 04.04.2018, 11:34

Forum Jump:


Users browsing this thread: 1 Guest(s)