#1

I have two problems with that.
1.reset all player score and money after restart.
2.When I disable the code Again works.
PHP код:
CMD:rserver(playeridparams[])
{
    if(
COptions[rserver] == 0)
    {
        new 
adminname[MAX_PLAYER_NAME];
        if(
PlayerInfo[playerid][pAdmin] >= CmdsOptions[rserver])
        {
            
GetPlayerName(playeridadminnamesizeof(adminname));
            new 
str[128];
            
format(str,128,"Admin %s (id:%d) has restarted server!",adminnameplayerid);
            
SendClientMessageToAll(COLOR_BLUE,str);
            
SendRconCommand("gmx");
            return 
1;
        }
        else return 
SendClientMessage(playerid,COLOR_RED,"You do not have permission to use this command!");
    }
      else return 
SendClientMessage(playerid,COLOR_RED,"[ERROR]:You cant use this command because disabled by God.");

Reply


Messages In This Thread
gmx - by GeneralAref - 29.12.2015, 08:05
Re: gmx - by MicroKyrr - 29.12.2015, 08:17
Re: gmx - by X337 - 29.12.2015, 08:18
Re: gmx - by Sh4d0w2 - 29.12.2015, 08:18
Re: gmx - by MicroKyrr - 29.12.2015, 08:20
Re: gmx - by Sh4d0w2 - 29.12.2015, 08:22
Re: gmx - by GeneralAref - 29.12.2015, 08:29
Re: gmx - by Sh4d0w2 - 29.12.2015, 08:36
Re: gmx - by GeneralAref - 29.12.2015, 09:01
Re: gmx - by MicroKyrr - 29.12.2015, 09:40

Forum Jump:


Users browsing this thread: 1 Guest(s)