Help! DEATH POSITION.
#2

You need to format the message first so you can input the values into the string and then send the string.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
        new Float:X,
            Float:Y,
            Float:Z,
            string[60];
        GetPlayerPos(playerid,X,Y,Z);
        format(string,sizeof(string),"Un tizio и morto a %f %f &f!", X, Y, Z);
        SendClientMessage(playerid,0xFFFFFF,string);
        return 1;
}
Reply


Messages In This Thread
Help! DEATH POSITION. - by Jyxtr0 - 04.04.2014, 12:31
Re: Help! DEATH POSITION. - by EiresJason - 04.04.2014, 12:33
Re: Help! DEATH POSITION. - by Jyxtr0 - 04.04.2014, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)