Jump to content
  • 0

Problema Nume player sub minimap


Andrey23.

Question

Problema intalnita (descriere):Am pus in gm sa arate numele player`ului respectiv sub mini map.Am dat rr la svr dar tot nu apare ...
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):

1.Am facut un new 

new Text:Nume[MAX_PLAYERS];


2. Am pus codul acesta la onpalyerconnect

 

//-------------------Bogdan TXT------------------------
new pnamee[24];
GetPlayerName(playerid, pnamee, sizeof(pnamee));
Nume[playerid]= TextDrawCreate(28.000000,428.000000,pnamee);
TextDrawAlignment(Nume[playerid],0);
TextDrawBackgroundColor(Nume[playerid],0xffffffff);
TextDrawFont(Nume[playerid],1);
TextDrawLetterSize(Nume[playerid],0.799999,1.200000);
TextDrawColor(Nume[playerid],0x00ff0033);
TextDrawSetOutline(Nume[playerid],1);
TextDrawSetProportional(Nume[playerid],1);
TextDrawSetShadow(Nume[playerid],1);
TextDrawShowForPlayer(playerid,Nume[playerid]);
//-------------------------------------------

3. si am pus acesta la onplayerdisconnect


TextDrawDestroy(Nume[playerid]);


Imagini / Video (optional):n`am
Ati incercat sa rezolvati singur?:da am incercat! dar akm mi s`a mutat ceasul :)) adica apare ceasul sub minimap :| LoL

 

Edited by KelToN.BloWn

                               http://i.imgur.com/NOsIYWt.png

                     Respecta si vei fi respectat. :)

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Problema intalnita (descriere):Am pus in gm sa arate numele player`ului respectiv sub mini map.Am dat rr la svr dar tot nu apare ...
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):

1.Am facut un new 

new Text:Nume[MAX_PLAYERS];


2. Am pus codul acesta la onpalyerconnect

Codul de mai jos se adauga la OnGameModeInit nu la OnPlayerConnect.

La OnPlayerConnect adaugi TextDrawShowForPlayer(playerid,Nume[playerid]); :D

 

//-------------------Bogdan TXT------------------------
new pnamee[24];
GetPlayerName(playerid, pnamee, sizeof(pnamee));
Nume[playerid]= TextDrawCreate(28.000000,428.000000,pnamee);
TextDrawAlignment(Nume[playerid],0);
TextDrawBackgroundColor(Nume[playerid],0xffffffff);
TextDrawFont(Nume[playerid],1);
TextDrawLetterSize(Nume[playerid],0.799999,1.200000);
TextDrawColor(Nume[playerid],0x00ff0033);
TextDrawSetOutline(Nume[playerid],1);
TextDrawSetProportional(Nume[playerid],1);
TextDrawSetShadow(Nume[playerid],1);
TextDrawShowForPlayer(playerid,Nume[playerid]);
//-------------------------------------------

3. si am pus acesta la onplayerdisconnect


TextDrawDestroy(Nume[playerid]);


Imagini / Video (optional):n`am
Ati incercat sa rezolvati singur?:da am incercat! dar akm mi s`a mutat ceasul :)) adica apare ceasul sub minimap :| LoL

 

j3V8Znq.png

5IGyOAw.png

Link to comment
Share on other sites

  • 0

Imi da 11 erori akm !!

Ce ... Imi puteti da un model sa fac eu ca asta nu cred cai bun!

                               http://i.imgur.com/NOsIYWt.png

                     Respecta si vei fi respectat. :)

Link to comment
Share on other sites

  • 0

Dar un tutorial/un model imi puteti da? va rog ca am incercat dar imi da multe erorri :(

 

                               http://i.imgur.com/NOsIYWt.png

                     Respecta si vei fi respectat. :)

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.