Some help..
#4

For your 1st problem check this : link1 link2

For your 2nd problem ! I tested it and it works ! I placed that it sends to only rcon admins but PM if you want it to send all level admins !
pawn Код:
COMMAND:healme(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerAdmin(i))
        {
            new string[64], pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
            format(string,sizeof string,"%s has just healed himself!",pName);
            SetPlayerHealth(playerid, 100);
            SendClientMessageToAll(COLOR_GREEN,string);
        }
        else
        {
            SetPlayerHealth(playerid, 100);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Some help.. - by mike_1 - 08.07.2012, 16:36
Re: Some help.. - by coole210 - 08.07.2012, 17:55
Re: Some help.. - by mike_1 - 08.07.2012, 18:11
Re: Some help.. - by RedJohn - 08.07.2012, 20:21

Forum Jump:


Users browsing this thread: 1 Guest(s)