Pomoc oko tdova

Započeo llDzonill
22. Okt. 2017.
517
pregleda
4
postova
Dzoni_Escobar
4
Shot Caller
22. Okt. 2017.
Skripta koju koristim:BE
Detaljan opis problema: Kako da napravim da se vreme krece na textdraw
Dio skripte: //
Neke slike/video za lakse dobivanje pomoci(neobavezno):https://i.imgur.com/2r3ORD8.png
Agency
5
Underboss
23. Okt. 2017.
Ovo zalepis na vrh skripte:

new Text:VremeDatum1;
new Text:VremeDatum2;

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

Ovo de su to ostali tdovi.

        SetTimer("VremeDatumTimer",1000,true);
VremeDatum1 = TextDrawCreate(354.050292, 431.816589, "12:12");
TextDrawLetterSize(VremeDatum1, 0.236239, 1.628330);
TextDrawAlignment(VremeDatum1, 1);
TextDrawColor(VremeDatum1, -1);
TextDrawSetShadow(VremeDatum1, 0);
TextDrawSetOutline(VremeDatum1, -1);
TextDrawBackgroundColor(VremeDatum1, 8388863);
TextDrawFont(VremeDatum1, 2);
TextDrawSetProportional(VremeDatum1, 1);
TextDrawSetShadow(VremeDatum1, 0);

VremeDatum2 = TextDrawCreate(401.934295, 432.516662, "15.15.2017");
TextDrawLetterSize(VremeDatum2, 0.243835, 1.484161);
TextDrawAlignment(VremeDatum2, 1);
TextDrawColor(VremeDatum2, -1);
TextDrawSetShadow(VremeDatum2, 0);
TextDrawSetOutline(VremeDatum2, -1);
TextDrawBackgroundColor(VremeDatum2, 8388863);
TextDrawFont(VremeDatum2, 2);
TextDrawSetProportional(VremeDatum2, 1);
TextDrawSetShadow(VremeDatum2, 0);

------------------------- ovo pod OnPlayerSpawn

TextDrawShowForPlayer(playerid,VremeDatum1);
    TextDrawShowForPlayer(playerid,VremeDatum2);

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

Ovo na kraj skripte--------

forward VremeDatumTimer(playerid);
public VremeDatumTimer(playerid)
{
        new string,godina,mesec,dan,sati,minute,sekunde;
        getdate(godina, mesec, dan), gettime(sati, minute, sekunde);
        format(string, sizeof string, "%d/%s%d/%s%d", dan, ((mesec < 10) ? ("0") : ("")), mesec, (godina < 10) ? ("0") : (""), godina);
        TextDrawSetString(VremeDatum2, string);
        format(string, sizeof string, "%s%d:%s%d", (sati < 10) ? ("0") : (""), sati, (minute < 10) ? ("0") : (""), minute);
        TextDrawSetString(VremeDatum1, string);
}
Dzoni_Escobar
4
Shot Caller
24. Okt. 2017.
Hvala radi
Linsco
5
Underboss
24. Okt. 2017.
Lockaj temu,izgubice neko vreme dok ne vidi da je fixano ili ti ili moderatori
@Muma
@MEDO 
i jos koji ako nije neko od vas jbg tag sam spamere 😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha