Jump to content
  • 0

Jail Time


w3b

Question

Nick: w3b

Problema: Am incercat sa fac un TextDraw care sa iti arate cat timp stai in jail dar imi arata numai cand scriu /time ,eu vr sa arate acel timp cat stai in jail fara sa dai /time mereu.Am vz ca pe alt sv este asa cum as vr eu sa fac am facut un screen.http://img.plici.ro/image/zK

Errori: nu da erori

Linii script:[pawn]if (PlayerData[playerid][pJailTime] > 0)

{

format(string, sizeof(string), "~y~%d %s~n~~g~|~w~%d:%d~g~|~n~~w~Timp de puscarie ramas: %d sec", day, mtext, hour, minuite, PlayerData[playerid][pJailTime]-10);

TextDrawLetterSize(pont2, 0.459244, 1.665334);

    TextDrawAlignment(pont2, 1);

    TextDrawColor(pont2, -1);

    TextDrawSetShadow(pont2, 0);

    TextDrawSetOutline(pont2, 1);

    TextDrawBackgroundColor(pont2, 255);

    TextDrawFont(pont2, 1);

    TextDrawSetProportional(pont2, 1);

}[/pawn] Asta am incercat eu

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Trebuie sa folosesti functiile urmatoare:

TextDrawSetString http://wiki.sa-mp.com/wiki/TextDrawSetString - cu aceasta functie schimbi textul unui textdraw

TextDrawShowForPlayer http://wiki.sa-mp.com/wiki/TextDrawShowForPlayer - cu aceasta functie faci sa-i apara jucatorului textdraw-ul

TextDrawHideForPlayer http://wiki.sa-mp.com/wiki/TextDrawHideForPlayer - cu aceasta functie faci sa-i dispara jucatorului textdraw-ul

Foloseste aceste 3 functi .

Link to comment
Share on other sites

Topic inchis , 48h+ fara reply.

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

 

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.