[HELP] SendClientMessage with string
#2

pawn Код:
new Float:hp, Float:a;
new target = GetClosestPlayer(playerid);
if(GetDistanceBetweenPlayers(playerid,target) <= 1)
{
    if(hp < 5)
    {
        new string[100];
        new hPl[MAX_PLAYER_NAME];
        GetPlayerName(target, hPl, sizeof hPl);
        format(string,sizeof(string), "%s turn into a zombie !.", hPl);
        SendClientMessageToAll(RED,string);
    }
}
Reply


Messages In This Thread
[HELP] SendClientMessage with string - by Amine_Mejrhirrou - 18.02.2011, 22:07
Re: [HELP] SendClientMessage with string - by Pooh7 - 18.02.2011, 22:10
Re: [HELP] SendClientMessage with string - by admantis - 18.02.2011, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)