Kills and deaths
#4

PVars are another form of storing data. You can read more about what they are here.

As for showing the player's ID when they speak in chat, you can change your OnPlayerText callback to contain the following code:

pawn Код:
public OnPlayerText(playerid, text[]) {
    new
        szText[128],
        szPlayerName[MAX_PLAYER_NAME];

    format(szText, sizeof(szText), "%s [%d] says: %s", szPlayerName, playerid, text);
    SendClientMessageToAll(COLOUR, szText); // You need to specify a colour where 'COLOUR' is
    return 0;
}
Reply


Messages In This Thread
Kills and deaths - by emokidx - 28.07.2011, 12:03
Re: Kills and deaths - by Calgon - 28.07.2011, 12:06
Re: Kills and deaths - by emokidx - 28.07.2011, 12:10
Re: Kills and deaths - by Calgon - 28.07.2011, 12:13
Re: Kills and deaths - by emokidx - 28.07.2011, 12:15

Forum Jump:


Users browsing this thread: 1 Guest(s)