Preview model

Započeo Shaw Salcedo, Oktobar 29, 2021, 10:53:50 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Bukvalno sam uzeo sa officialnom sampa wikia preview model kako se pravi, i Box mi ostaje iza
Deo skripte:
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):new Text:textdraw;

public OnGameModeInit()
{
textdraw = TextDrawCreate(320.0, 240.0, "_");
TextDrawFont(textdraw, TEXT_DRAW_FONT_MODEL_PREVIEW);
TextDrawUseBox(textdraw, 1);
TextDrawBoxColor(textdraw, 0x000000FF);
TextDrawTextSize(textdraw, 40.0, 40.0);
TextDrawSetPreviewModel(textdraw, 411); //Display model 411 (Infernus)
        //TextDrawSetPreviewModel(textdraw, 1); //Display model 1 (CJ Skin)
        //TextDrawSetPreviewModel(textdraw, 18646); //Display model 18646 (Police light object)

//You still have to use TextDrawShowForAll/TextDrawShowForPlayer to make the textdraw visible.
return 1;
}
https://prnt.sc/1xpac4c
Poslednja Izmena: Oktobar 29, 2021, 12:11:49 POSLE PODNE od M Ө M Σ N Z I
GAD SAM JA

[pawn]TextDrawBoxColor(textdraw, 0x0000000);[/pawn]

Da je box providan mora tako ici!
SPEED HACK (C++) https://github.com/nouddy/samp-speed-hack
Reliant GameMode (open.mp) https://github.com/nouddy/reliant-omp
SA:MP Landing Page https://github.com/nouddy/samp-landing-page


Kolko drama ima u 7 grama


Sredjeno
TextDrawBackgroundColor(MyTextdraw, 0x0000000);
GAD SAM JA