Can someone help me??
#4

Код:
stock Prikazi_PTD(playerid) 
{ 
    new datum[25], vrijeme[25], sat, minut, sekund, dan, mjesec, godina; 
    gettime(sat, minut, sekund); 
    getdate(godina, mjesec, dan); 
    format(datum, sizeof datum, "~w~%02d %02d %02d", dan, mjesec, godina); 
    PlayerTextDrawSetString(playerid, TDEditor_PTD[playerid][0], datum); 
    format(vrijeme, sizeof vrijeme, "~w~%02d %02d %02d", sat, minut, sekund); 
    PlayerTextDrawSetString(playerid, TDEditor_PTD[playerid][1], vrijeme); 
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][0]); 
    PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][0]); 
    return 1; 
}
Shouldn't one of the textdraw array index be 1?
Reply


Messages In This Thread
Can someone help me?? - by Micko123 - 23.07.2016, 17:06
Re: Can someone help me?? - by Sjn - 23.07.2016, 17:13
Re: Can someone help me?? - by Micko123 - 23.07.2016, 17:15
Re: Can someone help me?? - by Sjn - 23.07.2016, 17:17
Re: Can someone help me?? - by Micko123 - 23.07.2016, 17:18
Re: Can someone help me?? - by Deadpoop - 23.07.2016, 17:20
Re: Can someone help me?? - by Micko123 - 23.07.2016, 17:21
Re: Can someone help me?? - by SickAttack - 23.07.2016, 17:27
Re: Can someone help me?? - by Deadpoop - 23.07.2016, 17:39

Forum Jump:


Users browsing this thread: 1 Guest(s)