Jump to content
  • 0

id-ul jucatorilor pe chat


sasnet

Question

Salutare !  :P

Am o mica problema, as vrea ca pe chatul serverului sa imi apara in paranteza,langa nicku jucatorilor si ID(cifra).Sa imi fie mai usor de vazut decat sa dau TAB. ;D

Va multumesc,cine ma ajuta are +1 de la mine! NUMAI BINE ! :)

SA-MP Server ip: r.sasnet.eu:7777

Cod Mw2 Server ip: ns3.sasnet.eu:28960

SasNet Site: www.sasnet.eu

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

Guest farse

La OnPlayerText( playerid, text[] )

new string[108], new pName[ MAX_PLAYER_NAME ];

GetPlayerName( playerid, pName, sizeof (pName) ;

format(string,124,"%s[iD:%d]%s",pName, playerid,text);

SendClientMessageToAll(-1,string);

si faci din 'return 1' in return 0;

Link to comment
Share on other sites

LaZ" post="37325" timestamp="1281103611"]

Am testat si merge.

Stuntman, posteaza codul.

i l-am facut eu sa mearga ... si e mai simplu fata de ce a zis farse ;D

new string[128];
    format(string,sizeof(string),"[ID: %d]: %s", playerid, text);
    SendPlayerMessageToAll(playerid, string);
    SetPlayerChatBubble(playerid, text, 0xFFFFFFAA, 100.0, 10000);

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.