Jump to content

Question

Posted

Nume:s1n3d_28

Problema: Am si eu o problema cu textdrawurile din gm , nu am nici o eroare la ele nimic.. cand le compilez dar, cand intru pe server nu le arata.. nici data/ora/sercunde nici texdrawul

Erori/Warnings: -

Linii/Script :[pawn]  Date = TextDrawCreate(547.000000, 11.000000,"--");

    TextDrawFont(Date, 3);

    TextDrawLetterSize(Date,0.399999, 1.600000);

    TextDrawColor(Date, 0xffffffff);

    Time2 = TextDrawCreate(547.000000, 28.000000,"--");

    TextDrawFont(Time2, 3);

    TextDrawLetterSize(Time2, 0.399999, 1.600000);

    TextDrawColor(Time2, 0xffffffff);

TextDraw0 = TextDrawCreate(204.000000, 423.000000, "Romania");

TextDrawBackgroundColor(TextDraw0, 255);

TextDrawFont(TextDraw0, 3);

TextDrawLetterSize(TextDraw0, 0.549999, 2.000000);

TextDrawColor(TextDraw0, 0xFF0000AA);

TextDrawSetOutline(TextDraw0, 0);

TextDrawSetProportional(TextDraw0, 1);

TextDrawSetShadow(TextDraw0, 1);

TextDraw1 = TextDrawCreate(287.000000, 423.000000, "Stunt");

TextDrawBackgroundColor(TextDraw0, 255);

TextDrawFont(TextDraw1, 3);

TextDrawLetterSize(TextDraw1, 0.609999, 1.800000);

TextDrawColor(TextDraw1, 0xFFFF00AA);

TextDrawSetOutline(TextDraw1, 0);

TextDrawSetProportional(TextDraw1, 1);

TextDrawSetShadow(TextDraw1, 1);

TextDraw2 = TextDrawCreate(367.000000, 422.000000, "Gaming");

TextDrawBackgroundColor(TextDraw0, 255);

TextDrawFont(TextDraw2, 3);

TextDrawLetterSize(TextDraw2, 0.599999, 2.100000);

TextDrawColor(TextDraw2, 65535);

TextDrawSetOutline(TextDraw2, 0);

TextDrawSetProportional(TextDraw2, 1);

TextDrawSetShadow(TextDraw2, 1);[/pawn]

Ai incercat sa rezolvi singur ?: Da am incercat, si nu am reusit .

Daca ma inrolati in razboi ma declar inapt caci nu vreau sa fiu erou intr-o tara te ca*at .

10 answers to this question

Recommended Posts

  • Administrator
Posted

Foloseste TextDrawShowForPlayer cand se conecteaza player-ul.

Posted

Alea le-am pus inainte.. uite [pawn] TextDrawShowForPlayer(playerid, TextDraw0);

TextDrawShowForPlayer(playerid, TextDraw1);

TextDrawShowForPlayer(playerid, TextDraw2);

TextDrawShowForPlayer(playerid, Date);

TextDrawShowForPlayer(playerid, Time2);[/pawn]

Sa le pun la OnPlayerConnect ?

Daca ma inrolati in razboi ma declar inapt caci nu vreau sa fiu erou intr-o tara te ca*at .

Posted

Rezolvat ?

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Posted

Le-am pus la OnPlayerConnect dar tot nu apar .. [pawn]public OnPlayerConnect(playerid)

{

SendClientMessage(playerid, COLOR_WHITE, "Bun Venit Pe {FF0000}Romania {FFFF00}Stunt {0033FF}Gaming {FFFFFF}!");

SendClientMessage(playerid, COLOR_WHITE, "Scrie {FF0000}/help {FFFFFF}Pentru Ajutor !");

SendClientMessage(playerid, COLOR_WHITE, "Scrie {FF0000}/teles {FFFFFF}Pentru Teleportari !");

SendClientMessage(playerid, COLOR_WHITE, "Scrie {FF0000}/cmds {FFFFFF}Pentru Comenzi !");

SendClientMessage(playerid, COLOR_WHITE, "Scrie {FF0000}/v {FFFFFF}Pentru Un Meniu Cu Masini !");

SendClientMessage(playerid, COLOR_WHITE, "Site-ul Serverului Este  {FF0000}http://rostuntgaming.{FFFF00}webgarden{0033FF}.ro/!");

//--------------------------------------------------------------------------

TextDrawShowForPlayer(playerid, TextDraw0);

TextDrawShowForPlayer(playerid, TextDraw1);

TextDrawShowForPlayer(playerid, TextDraw2);

TextDrawShowForPlayer(playerid, Date);

TextDrawShowForPlayer(playerid, Time2);

//--------------------------------------------------------------------------[/pawn]

Daca ma inrolati in razboi ma declar inapt caci nu vreau sa fiu erou intr-o tara te ca*at .

Posted

[pawn]new Text:Time2, Text:Date;[/pawn]

[pawn]new Text:TextDraw0;

new Text:TextDraw1;

new Text:TextDraw2;[/pawn]    Te referi la astea ?

Daca ma inrolati in razboi ma declar inapt caci nu vreau sa fiu erou intr-o tara te ca*at .

  • Administrator
Posted

Atunci dupa ce ai facut CreateTextdraw pune TextDrawShowForAll. http://wiki.sa-mp.com/wiki/TextDrawShowForAll

Da la alea m-am referit.

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.