Skin u tdovima

Započeo Sinner.man, Januar 11, 2018, 18:10:12 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Detaljan opis problema: Kako da napravim da td koji sam napravio u tdovima da ga podesim u skripti da igrac koji nosi skin da taj bude sa strane u td-u i kada igrac promijeni da se skin promijeni kao na zarigaming....
novi sam medju skriptanjem !
Deo skripte: tdovi
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
:)

@KasperD Koristis:
TextDrawSetPreviewModel(ImeTD, GetPlayerSkin(playerid));

a ako ti je PLAYER TD Ovako:
PlayerTextDrawSetPreviewModel(playerid, ImeTD[playerid], GetPlayerSkin(playerid));

i to stavis pod OnPlayerSpawn, msm gde ti taj td pokazuje za skin, pa ispod tog ovo ubacis :) I Promenis ovo ImeTD u ime td-a.
Poslednja Izmena: Januar 11, 2018, 19:10:12 POSLE PODNE od Vasić
• Website: www.vasic.dev
Web Development & Cyber Security

Citat: Vasić poslato Januar 11, 2018, 19:07:10 POSLE PODNE
@KasperD Koristis:
TextDrawSetPreviewModel(ImeTD, GetPlayerSkin(playerid));

a ako ti je PLAYER TD Ovako:
PlayerTextDrawSetPreviewModel(playerid, ImeTD[playerid], GetPlayerSkin(playerid));

i to stavis pod OnPlayerSpawn, msm gde ti taj td pokazuje za skin, pa ispod tog ovo ubacis :) I Promenis ovo ImeTD u ime td-a.
Obavezno koristi Player TD

Facebook - Klik



ubacio sam sve i imaju neki erori, pokusavao sam da rijesim ali botara
http://prntscr.com/hz847s
JMSkin[ playerid ] = CreatePlayerTextDraw(playerid, 471.000000, 118.719985, "New Textdraw");
	PlayerTextDrawLetterSize(playerid, JMSkin[ playerid ], 0.449999, 1.600000);
	PlayerTextDrawTextSize(playerid, JMSkin[ playerid ], 60.000000, 62.720012);
	PlayerTextDrawAlignment(playerid, JMSkin[ playerid ], 1);
	PlayerTextDrawColor(playerid, JMSkin[ playerid ], -1);
	PlayerTextDrawUseBox(playerid, JMSkin[ playerid ], true);
	PlayerTextDrawBoxColor(playerid, JMSkin[ playerid ], 0);
	PlayerTextDrawSetShadow(playerid, JMSkin[ playerid ], 0);
	PlayerTextDrawSetOutline(playerid, JMSkin[ playerid ], 1);
	PlayerTextDrawFont(playerid, JMSkin[ playerid ], 5);
	PlayerTextDrawSetProportional(playerid, JMSkin[ playerid ], 1);


a gore sam ubacio ono na onplayerspawn i ovo sam ubacio gdje idu ono za define tdova
new PlayerText:Brzinomer[ MAX_PLAYERS ][ 6 ];
new PlayerText:TaxistaTD[ MAX_PLAYERS ][ 12 ];
new PlayerText:SpecTextDraw[ MAX_PLAYERS ];
new PlayerText:GladIgraca[ MAX_PLAYERS ];
new PlayerText:BankaIgraca[ MAX_PLAYERS ];
new PlayerText:ZlatoIgraca[ MAX_PLAYERS ];
new PlayerText:PlataIgraca[ MAX_PLAYERS ];
new PlayerText:WantedIgraca[ MAX_PLAYERS ];
new PlayerText:JMSkin[ MAX_PLAYERS ];

new PlayerBar:GladIgracaBar[ MAX_PLAYERS ] = { INVALID_PLAYER_BAR_ID, ...};

:)

i nez sto mi ovakvi tdovi kad ubacim a u editoru nastimam normalno http://prntscr.com/hzhnmz
:)

Te td-ove stavis pod OnPlayerConnect
• Website: www.vasic.dev
Web Development & Cyber Security