Jump to content
  • 0

Nume sub mapa ?


Nokian73

Question

14 answers to this question

Recommended Posts

Scz de dublu post,nu pot sa dau edit ca is de pe mobil.  Deci vrei sa apara numele mapei? Simplu(daca la asta te referi) creaza un textdraw cu patchul de la filtrescripts and gamemodes (de pe forumul asta ). Si vezi in susul paginii ca este un topic "[app]  " descarca si cauta programul text draw maker. Ca sa iti mearga programele,trebuie sa ai instalat un net framework pe pc. Bft

qdbjz10.png

Link to comment
Share on other sites

NeO termina cu spamul

Nokian73 se poate face folosesti programul Textdraw maker

il gasesti in packul cu programe facut de Farse aici: http://forum.sa-mp.ro/index.php/topic,280.0.html

El vrea ca pe LinkMania mah sa apara numele jucatorului sub mapa !

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

:-? ce e asa greu :-?

pui la inceputul modului

new Text:NumeIdiot;
apoi creezi un TextDraw la OnGameModeInit acolo jos sub mapa dar sa nu scri nimic la el , doar spatiu ... adik
NumeIdiot = TextDrawCreate(x,y, " ");
apoi la OnPlayerConnect scri acolo mai jos de {
NumeleIdiotului(playerid);
Jos Jos Jos la sfarsitul modului pui :
forward NumeleIdiotului(playerid);
public NumeleIdiotului(playerid)
{
TextDrawShowForPlayer(playerid,NumeIdiot);
new Name[MAX_PLAYER_NAME], idiot;
GetPlayerName(playerid, Name, sizeof(Name));
format(idiot, sizeof(idiot), "%s",Name);
TextDrawSetString(NumeIdiot, idiot);
return 1;
}

Mdea

tLYRl.gif
Link to comment
Share on other sites

//Pui pe la inceputului GM/FS

new Text:Nume;
new name:
new pname[MAX_PLAYER_NAME];
//Pui in OnGameModeInit
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s", pname);
Nume = TextDrawCreate(28.000000,428.000000,name);
TextDrawAlignment(Nume,0);
TextDrawBackgroundColor(Nume,0xffffffff);
TextDrawFont(Nume,1);
TextDrawLetterSize(Nume,0.799999,1.200000);
TextDrawColor(Nume,0x00ff0033);
TextDrawSetOutline(Nume,1);
TextDrawSetProportional(Nume,1);
TextDrawSetShadow(Nume,1);
//Si la OnPlayerSpaw/Connect pui
TextDrawShowForPlayer(playerid,nume);

Poti folosi varianta lu RuNix

dar in loc de x,y pui 28.000000,428.000000 ca sa fie sub GPS

Sper ca o sati merga :D

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Guest farse

TextDraw stabil pentru o varietate de 'string'uri?

playerid la OnGameModeInit ?

'wrong case'?

WTF guys.


new Text:Nume[MAX_PLAYERS];

//OnPlayerConnect

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]);

//OnPlayerDisconnect

TextDrawDestroy(Nume[playerid]);

Link to comment
Share on other sites

Si ce trebuie sa fac sa apara culoare respectiva a playerului daca e cop cu albastru rosu medic ......

Si putin mai mic si cu ala negru asa pe langa el mersi mult

http://img72.imageshack.us/img72/8163/imag.png >> asa

Ai nevoie de hoster atunci baga id razvy_stelistu_2008 si iti voi rasp imediat MULTUMESC

lgsl_image.php?s=10&type=sky lgsl_image.php?s=10&type=small lgsl_image.php?s=10

Link to comment
Share on other sites

IceBox am incercat ca tine si uite ce-mi zice ??? ???

C:\DOCUME~1\Dragos\Desktop\impact.pwn(358) : error 020: invalid symbol name ""

C:\DOCUME~1\Dragos\Desktop\impact.pwn(4518) : error 017: undefined symbol "nume"

C:\DOCUME~1\Dragos\Desktop\impact.pwn(9137) : error 017: undefined symbol "playerid"

C:\DOCUME~1\Dragos\Desktop\impact.pwn(9137) : error 017: undefined symbol "pname"

C:\DOCUME~1\Dragos\Desktop\impact.pwn(9137) : error 029: invalid expression, assumed zero

C:\DOCUME~1\Dragos\Desktop\impact.pwn(9137) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

6 Errors.

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.