Jump to content
  • 0

Eroare afisare textdraw


MrAndrei

Question

Problema intalnita (descriere):Textdraw [/takeguns] [/healhq]
Ero(area / rile) / warning-(ul / urile):Am creat comenzile de mai sus pentru mafii , insa , la factiunea grove , am o problema..nu imi afiseaza textdraw-ul.

Am asa , la grove, se face un bug cu masinile cand ies din HQ, l-am rezolvat cu un pint si pVirtualWorld, insa , acum, nu imi pot da seama ce gresesc la afisarea textdraw-ului.

Liniile de cod / sursa / script-ul(obligatoriu):

Enter pentru HQ Grove:

else if (PlayerToPoint(3.0, playerid,2495.2671,-1690.2219,14.7656)) // /enter HQ Grove Street
			{
                if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
			    {
			        SetPlayerVirtualWorld(giveplayerid, 0);
			        SetPlayerInterior(playerid,3);
				    SetPlayerPos(playerid,2496.049804,-1695.238159,1014.742187);
				    PlayerInfo[playerid][pInt] = 3;
				    SetPlayerVirtualWorld(playerid, 1);
				    PlayerInfo[playerid][pVirWorld] = 1;
				}
			}

Exit pentru HQ Grove:

else if (PlayerToPoint(5.0, playerid,2496.0056,-1693.0721,1014.7422)) // /exit HQ Grove Street
{
if(GetPlayerVirtualWorld(playerid) == 1)
{
                SetPlayerVirtualWorld(giveplayerid,0);
			    SetPlayerInterior(playerid,0);
				SetPlayerPos(playerid,2495.2671,-1690.2219,14.7656);
				PlayerInfo[playerid][pInt] = 0;
				SetPlayerVirtualWorld(playerid, 0);
				PlayerInfo[playerid][pLocal] = 255;
				PlayerInfo[playerid][pVirWorld] = 0;
			}
			} 

Aici se poate observa ca sunt mai multe chestii adaugate..

 

Acum , textdraw-ul:

Create3DTextLabel("Tasteaza /takeguns npentru a-ti lua armenPret: {FFFFFF}1.000$",0xADD8E6FF,2492.9631,-1701.9628,1018.3438,5,0,3); //Takeguns
	Create3DTextLabel("Tasteaza /takeguns npentru a-ti lua armenPret: {FFFFFF}1.000$",0xADD8E6FF,2492.9631,-1701.9628,1018.3438,5,3,0); //healhq 

Nu cred ca aveti nevoie de comenzile takeguns si /healhq

Imagini / Video (optional):-
Ati incercat sa rezolvati singur?:Da, dar...Va multumesc pentru ajutor

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Eu nu vad nici un ShowPlayerTextDraw, poate tu te referi la 3DTextLabel? Daca da atunci uitate aici http://wiki.sa-mp.com/wiki/Create3DTextLabelsi vezi sa ai acelasi virtualworld si interior ca cele ale HQ-ului.

 

Asta e faza..ca nu inteleg care e interiorul si care e vw...

Adica, stiu care e interiorul hq-ului, dar nu stiu unde trebuie pus in "Create3DTextLabel" , la fel si vw.

Link to comment
Share on other sites

  • 0

Nici nu are treaba :)) trebuie sa adaugi pentru membri si lider sa le arate textdraw-ul prin functia ShowPlayerTextdraw();

 

M-am exprimat gresit, in hq doar membrii factiunii au acces.Eu vreau sa adaug un text , dar gresesc interiorul si exteriorul cu "Create3DTextLabel"

Link to comment
Share on other sites

  • 0

Pune Create3DText in interiorul 3 si in VW 1.

PS:Uite aici:

<FARA LINK DE ADF .LY>

 

Problema nu e la interior , in hq , vreau sa se afiseze un text , "Foloseste [/takeguns] pentru a-ti lua arme,ceva gen cabinet.

Am folosit functia Create3DTextLabel , insa nu reusesc sa fac corect.

ID-ul interiorului de la Grove este 3, dar nu reusesc sa pun textul.Am dat [/save] la coordonate , le-am implementat, merge comanda dar nu imi apare textul.

Problema este clar de la :

Create3DTextLabel("Tasteaza /takeguns npentru a-ti lua armenPret: {FFFFFF}1.000$",0xADD8E6FF,2492.9631,-1701.9628,1018.3438,5,0,3); //Takeguns

Ultimele 3 cifre, nu stiu ce inseamna, ma puteti ajuta?

Link to comment
Share on other sites

  • 0

<FARA LINK DE ADF .LY>

Incearca asta .

:P Respecta ca sa fi respectact :P 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Developer in :

C++,PHP,HTML,CSS,JAVASCRIPT,XML,MYSQL

si ceva  Pawno :)

WebDesign,Photoshop

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

/////////////////////////////////////////////////////////////////////////////////////////

=============================================

Steam ~ Kiburici

=============================================

Link to comment
Share on other sites

  • 0

Create3DTextLabel("Tasteaza /takeguns npentru a-ti lua armenPret: {FFFFFF}1.000$",0xADD8E6FF,2492.9631,-1701.9628,1018.3438,10.0,0); //Takeguns

incearca asa :D

:P Respecta ca sa fi respectact :P 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Developer in :

C++,PHP,HTML,CSS,JAVASCRIPT,XML,MYSQL

si ceva  Pawno :)

WebDesign,Photoshop

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

/////////////////////////////////////////////////////////////////////////////////////////

=============================================

Steam ~ Kiburici

=============================================

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.