Please help in TAG
#1

i want that when player chat his team tag display and player id like

Код:
[GR]proking(0): xyz
GR == Grove
0 player id

So How can I do this.
Reply
#2

use like this on On playertext

pawn Код:
if(PlayerInfo[playerid][admin] == 1)// change this to Groove team
    {  
        new name[MAX_PLAYER_NAME], Msg[256];
    GetPlayerName(playerid, name, sizeof(name));
    format(Msg, sizeof(Msg), "[GR][ID:%d] %s: %s", playerid, name, text);
    SendClientMessageToAll(0xFFFFFF,Msg);
}
Reply
#3

pawn Код:
[12:58:26]  [GR][ID:0]   [kR]hustledude:  sada

[12:58:26] <[kR]hustledude> sada
Showing this what to do
Reply
#4

pawn Код:
if(PlayerInfo[playerid][admin] == 1)// change this to Groove team
    {  
        new name[MAX_PLAYER_NAME], Msg[256];
    GetPlayerName(playerid, name, sizeof(name));
    format(Msg, sizeof(Msg), "[GR][ID:%d] %s: %s", playerid, name, text);
    SendClientMessageToAll(0xFFFFFF,Msg);
return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)