Pomoc

Započeo Kremenko., Decembar 19, 2022, 00:54:27 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Imam problem sa register sistemom, sve je dobro povezano ali kada se neko zeli registruje ne moze da klikne na lozinku, godine itd. U skripti je uradjen OnPlayerClickPlayerTextDraw.
Deo skripte: [pawn]/[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]/[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): /

1. Da li ti je taj textdraw selectable? Ako jeste predji na broj 2

2. Proveris Text Size od textdraw-a koji se selectuje, i podesis text size na osnovu alignment-a, vise o tome mozes procitati ovde https://team.sa-mp.com/wiki/PlayerTextDrawTextSize.html

CitatThe x and y have different meanings with different PlayerTextDrawAlignment values:
1 (left): they are the right-most corner of the box, absolute coordinates.
2 (center): they need to inverted (switch the two) and the x value is the overall width of the box.
3 (right): the x and y are the coordinates of the left-most corner of the box
Using font type 4 (sprite) and 5 (model preview) converts X and Y of this function from corner coordinates to WIDTH and HEIGHT (offsets).
The TextDraw box starts 10.0 units up and 5.0 to the left as the origin (TextDrawCreate coordinate).
This function defines the clickable area for use with PlayerTextDrawSetSelectable, whether a box is shown or not.

Hvala bio je problem u Text Size