Tdovi


Započeo DuxMaster, Jul 27, 2018, 14:51:55 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Ja sam ubacio svoje tdove koje sam napravio oni rade ali imam jedne posebne tdove a to su PlayerInfo znaci radi skin ali ne ucitaje tdove sa novac banke gram zlata i ime ne ocitaje
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]Nema[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/a/PeBt9mh
Dio skripte:
      Info_PlayerTD[playerid][1] = CreatePlayerTextDraw(playerid, 543.000000, 123.500000,"Dux_Master~n~");
      PlayerTextDrawLetterSize(playerid, Info_PlayerTD[playerid][1], 0.245000, 0.904375);
      PlayerTextDrawAlignment(playerid, Info_PlayerTD[playerid][1], 1);
      PlayerTextDrawColor(playerid, Info_PlayerTD[playerid][1], -1);
      PlayerTextDrawSetShadow(playerid, Info_PlayerTD[playerid][1], 0);
      PlayerTextDrawSetOutline(playerid, Info_PlayerTD[playerid][1], 1);
      PlayerTextDrawBackgroundColor(playerid, Info_PlayerTD[playerid][1], 255);
      PlayerTextDrawFont(playerid, Info_PlayerTD[playerid][1], 2);
      PlayerTextDrawSetProportional(playerid, Info_PlayerTD[playerid][1], 1);
      PlayerTextDrawSetShadow(playerid, Info_PlayerTD[playerid][1], 0);

      Info_PlayerTD[playerid][2] = CreatePlayerTextDraw(playerid, 549.500000, 142.750000, "$1000000~n~10g");
      PlayerTextDrawLetterSize(playerid, Info_PlayerTD[playerid][2], 0.240499, 0.948125);
      PlayerTextDrawAlignment(playerid, Info_PlayerTD[playerid][2], 1);
      PlayerTextDrawColor(playerid, Info_PlayerTD[playerid][2], -1);
      PlayerTextDrawSetShadow(playerid, Info_PlayerTD[playerid][2], 0);
      PlayerTextDrawSetOutline(playerid, Info_PlayerTD[playerid][2], 0);
      PlayerTextDrawBackgroundColor(playerid, Info_PlayerTD[playerid][2], 255);
      PlayerTextDrawFont(playerid, Info_PlayerTD[playerid][2], 2);
      PlayerTextDrawSetProportional(playerid, Info_PlayerTD[playerid][2], 1);
      PlayerTextDrawSetShadow(playerid, Info_PlayerTD[playerid][2], 0);
Jedina prava mudrost je
znati da ne znate ništa.



Proveri gde ga mestis neli Textdrawstring da ne ti je neshto tamo gresak,pa da ti pravi problema na ovo.


Pa napravi posebno td za gold i pare,tako ce ti biti lakse da setas string a za ime stavi ovako ispod td-a
new tdnick[128];
	format(tdnick, sizeof(tdnick),"%s",GetName(playerid));
	PlayerTextDrawSetString(playerid,PlayerInfo_PTD[playerid][0], tdnick);

Mod je Lospinos
Jedina prava mudrost je
znati da ne znate ništa.



Ovi tdovi za ime i novac i zlato su se prikazivali ali ja kada sam izbriso u glavim tdovima neki td i ponovo poredo tdove npr 2 u 3 i onda nije bilo errora i warings i ja pokrenem u srw udjem ne prikazuju se
Jedina prava mudrost je
znati da ne znate ništa.