Jump to content
  • 0

TextDraw OnPlayerConnect OnPlayerDisconnect



3 answers to this question

Recommended Posts

Ryder_RO daca vrei sa stii iti explic cum:

1.Faci un textdraw pe care il pui in CallBack-ul OnFlterScriptInit din system-ul de admin pe care folosesti

2.Te duci la OnPlayerConnect si faci urmatoarele lucruri:


new str[ 128 ];

format( str, 128, "%s has join ther server( ID: %d )", PlayerName( playerid ), playerid );//nu stiu cum ii excat pe SSR :)) dar modifici tu...

TextDrawSetString( Numele textdrawului pe care lai pus la OnGameModeInit, str );


Next Step:

Mergi la OnPlayerDisconnect

si pui cam tot aia:


new str[ 128 ];

format( str, 128, "%s( ID:%d ) has left server reason( %s )", PlayerName( playerid ), playerid, reason );//nush daca ii reason...dar modifici tu daca nu ii...

TextDrawSetString( Numele TD-ului, str );


The End ;)

Fara reclama in semnatura!

Link to comment
Share on other sites

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.