How do I do this
#4

Quote:
Originally Posted by Kar
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    {
    OnPlayerDeathSpawn[playerid] = 1;
    SendDeathMessage(killerid,playerid,reason);
    }
    if (OnPlayerKill[playerid] == 1)
    {
    new pName[MAX_PLAYER_NAME];
    new string[128];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "%s has committed suicide.", pName);
    SendClientMessageToAll(COLOR_GREY, string);
    }
    return 1;
}
This made it, thanks! I can see what I did wrong now.
Reply


Messages In This Thread
[SOLVED] How do I do this - by [DK]JaloNik - 10.07.2010, 18:04
Re: How do I do this - by Kar - 10.07.2010, 18:10
Re: How do I do this - by Mauzen - 10.07.2010, 18:14
Re: How do I do this - by [DK]JaloNik - 10.07.2010, 18:16
Re: How do I do this - by Kar - 10.07.2010, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)