Mihail. Posted March 28, 2016 Report Share Posted March 28, 2016 Am adaugat nume sub minimap si daca intra careva pe servar mi se schimba numele celui care intra pe sv ce pot face? Quote Link to comment Share on other sites More sharing options...
0 AdryanOvi Posted March 28, 2016 Report Share Posted March 28, 2016 1-Pune textraw-ul in OnGamemodeInit. 2-Redenumestel din textdraw0 (depinde de caz). 3-Adaugi scriptul ca sa iti apara numele sub minimap. 4-Mergi la OnPlayerConnect. 5-Scrii TextDrawShowForPlayer (numele textdraw-ului). 6-In caz ca nu iti merge adauga asta sus in gamemode #pragma tabsize Quote Link to comment Share on other sites More sharing options...
0 Mihail. Posted March 28, 2016 Author Report Share Posted March 28, 2016 (edited) am pus,dar cand intra cineva pe sv imi apare numele lui in loc de numele meu. cand intru eu pe sv il am dar daca intra altu ii am numele lui Edited March 28, 2016 by Mihail. Quote Link to comment Share on other sites More sharing options...
0 AdryanOvi Posted March 28, 2016 Report Share Posted March 28, 2016 Adauga asta la OnPlayerConnect new newtext[41], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(newtext, sizeof(newtext), "%s", name); TextDrawSetString(TEXTDRAWNAME, newtext); TextDrawShowForPlayer(playerid, TEXTDRAWNAME); Ai grija, %s il lasi asa deoarece asta inseamna numele jucatorului, dupa schimbi name cu numele serverului, ai grija sa modifici si TEXTDRAWNAME cu numele textdtaw-ului. Quote Link to comment Share on other sites More sharing options...
0 Mihail. Posted March 28, 2016 Author Report Share Posted March 28, 2016 O AM PUSA IN GM Quote Link to comment Share on other sites More sharing options...
0 Mihail. Posted March 28, 2016 Author Report Share Posted March 28, 2016 T/C Ii multumesc Lui Mister ca a postata la Cerere Tutorial Nume sub mini map ! Quote Link to comment Share on other sites More sharing options...
Question
Mihail.
Am adaugat nume sub minimap si daca intra careva pe servar mi se schimba numele celui care intra pe sv ce pot face?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.