Jump to content
  • 0

GameTextForPlayer - Intrebare !


EterNo

Question

Am vazut pe un server un GameTextForPlayer asemanator cu acesta :

samp145w.png

Am incercat sa fac si eu cu

		else if (PlayerToPoint(3, i,691.5751,-1275.8918,13.5607))
			{
			    GameTextForPlayer(i, "~g~VLA TRAINING PLACE, 5", 3000, 5);
			    GameTextForPlayer(i, "~y~USE /ENTER", 3000, 5);
			    GameTextForPlayer(i, "USE /EXIT TO EXIT", 3000, 5);
			}

Nu functioneaza imi arata doar ultimul GameText ..:-w

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Guest PlayON

Pentru ca odata ce un text este aratat, cel care este aratat pe moment v-a disparea si v-a face loc celuilalt.

Asa ca , pentru o linie noua folosesti ~n~ in cod.

Exemplu:

GameTextForPlayer( playerid, "GameText test.~n~Linia2~n~Linia3~n~Linia4~n~Linia5.",  3000, 5 );

Link to comment
Share on other sites

Pentru ca odata ce un text este aratat, cel care este aratat pe moment v-a disparea si v-a face loc celuilalt.

Asa ca , pentru o linie noua folosesti ~n~ in cod.

Exemplu:

GameTextForPlayer( playerid, "GameText test.~n~Linia2~n~Linia3~n~Linia4~n~Linia5.",  3000, 5 );

Vezi ca ai gresit la "GameTextForPlayer( playerid" ai pus spatiu , Dai T/C am inteles , ms .

P.S : Cei care luati errori de genul "undefined symbol playerid" puneti "i" la "playerid"

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.