Help me please
#1

Guys i want any scripter to help me

When some one talk in the main chat i want it to show the talking player ID

Thanks.
Reply
#2

its very easy
Reply
#3

Maybe it was shown in the game
Reply
#4

pawn Код:
public OnPlayerText(playerid,text[])
{
    new string[124],name[24]; // create some variables to be used
    GetPlayerName(playerid,name,sizeof(name)); // get the players name
    format(string,sizeof(string),"%s (%d): %s",name,playerid,text); // format a string containing the name, id and the text of the message being sent
    SendClientMessageToAll(-1,string); // Change -1 to a color, -1 = white
    return 0; // return false so the default samp message isn't sent
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)