Ryder_RO Posted August 1, 2011 Posted August 1, 2011 Salut..Cum pot sa fac un textdraw care sa arate cand un player intra/iese de pe server :-)cum e pe RSS (EX)Multumesc!
WanTeD Posted August 1, 2011 Posted August 1, 2011 De ce trebuie sa fie neaparat copy and paste?Este un FS aicia Cauta si tu ><
xxSPEEDYxx Posted August 1, 2011 Posted August 1, 2011 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 folosesti2.Te duci la OnPlayerConnect si faci urmatoarele lucruri:[pawn]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 );[/pawn]Next Step:Mergi la OnPlayerDisconnectsi pui cam tot aia:[pawn]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 );[/pawn]The End ;) Fara reclama in semnatura!
Question
Ryder_RO
Salut..
Cum pot sa fac un textdraw care sa arate cand un player intra/iese de pe server :-)
cum e pe RSS (EX)
Multumesc!
3 answers to this question
Recommended Posts