Ne rade Clickable TD


Započeo Foks Longoria, Mart 04, 2020, 19:38:49 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Nece mi TD kad kliknem.
Dio skripte:

Ovo je za klik
    if(playertextid == StatsTD[playerid])
    {
  		if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"UP:RP | "CRVENA"Moras se ulogovati da bi koristio ovu 
komandu!");
        if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid, -1, "UP:RP | "CRVENA"Ne mozete gledati stats dok ste u vozilu!");
	    KreirajStats(playerid);
        return 1;
	}


Evo i td
StatsTD[playerid] = CreatePlayerTextDraw(playerid, 528.761779, 435.626617, "STATS");
    PlayerTextDrawTextSize(playerid, StatsTD[playerid], 5.165428, 5.691200);
	PlayerTextDrawLetterSize(playerid, StatsTD[playerid], 0.165428, 0.691200);
    PlayerTextDrawAlignment(playerid, StatsTD[playerid], 1);
    PlayerTextDrawColor(playerid, StatsTD[playerid], -862387969);
    PlayerTextDrawSetShadow(playerid, StatsTD[playerid], 0);
    PlayerTextDrawSetOutline(playerid, StatsTD[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, StatsTD[playerid], 51);
    PlayerTextDrawFont(playerid, StatsTD[playerid], 2);
    PlayerTextDrawSetProportional(playerid, StatsTD[playerid], 1);
    PlayerTextDrawSetSelectable(playerid, StatsTD[playerid], true);

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/a/lAT99u0
Poslednja Izmena: Mart 04, 2020, 22:40:52 POSLE PODNE od Galardo

Poslednja Izmena: Mart 04, 2020, 20:15:56 POSLE PODNE od Shomyy

Facebook - Klik