click textdraw

Započeo M!chaeL
27. Jul 2018. Zaključano
1,769
pregleda
23
postova
M!chaeL
5
Underboss
27. Jul 2018.
Problem(error/warning): Stavio sam sve lepo click textdraw, napravio funkciju i kada kliknem nis se ne desi...
Dio skripte: evo funkcija, nema potrebe za td...
	if(clickedid == Laptop10)
{
    TextDrawHideForPlayer(playerid, Laptop0);
    TextDrawHideForPlayer(playerid, Laptop1);
    TextDrawHideForPlayer(playerid, Laptop2);
    TextDrawHideForPlayer(playerid, Laptop3);
    TextDrawHideForPlayer(playerid, Laptop4);
    TextDrawHideForPlayer(playerid, Laptop5);
    TextDrawHideForPlayer(playerid, Laptop6);
    TextDrawHideForPlayer(playerid, Laptop7);
    TextDrawHideForPlayer(playerid, Laptop8);
    TextDrawHideForPlayer(playerid, Laptop9);
    TextDrawHideForPlayer(playerid, Laptop10);
    TextDrawHideForPlayer(playerid, Laptop11);
    TextDrawShowForPlayer(playerid, google0);
    TextDrawShowForPlayer(playerid, google1);
    TextDrawShowForPlayer(playerid, google2);
    TextDrawShowForPlayer(playerid, google3);
    TextDrawShowForPlayer(playerid, google4);
    TextDrawShowForPlayer(playerid, google5);
    TextDrawShowForPlayer(playerid, google6);
    TextDrawShowForPlayer(playerid, google7);
    TextDrawShowForPlayer(playerid, google8);
    TextDrawShowForPlayer(playerid, google9);
    TextDrawShowForPlayer(playerid, google10);
    TextDrawShowForPlayer(playerid, google11);
    TextDrawShowForPlayer(playerid, google12);
    TextDrawShowForPlayer(playerid, google13);
    TextDrawShowForPlayer(playerid, google14);
    TextDrawShowForPlayer(playerid, google15);
    TextDrawShowForPlayer(playerid, google16);
    TextDrawShowForPlayer(playerid, google17);
    TextDrawShowForPlayer(playerid, google18);
    TextDrawShowForPlayer(playerid, google19);
    TextDrawShowForPlayer(playerid, google20);
    TextDrawShowForPlayer(playerid, google21);
    TextDrawShowForPlayer(playerid, google22);
    TextDrawShowForPlayer(playerid, google23);
return 1;
}

ovo je jedan primer, imam jos ovih click tda ali ne rade...
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike
Ivan_Ino
5
Kingpin
27. Jul 2018.
Stavi text size na textdrawove
M!chaeL
5
Underboss
30. Jul 2018.
Ino42O wrote on July 27, 2018, 9:05 pm:
Stavi text size na textdrawove
lol, normalno da imam to....
M!chaeL
5
Underboss
31. Jul 2018.
Unkovic wrote on July 31, 2018, 4:26 pm:
Sta lolas imbecilu? Covek ti je lepo rekao? Da znas da uradis i da umes ne bi postavljao ovde. Daj nam to gde kreiras TD
"Genije" na kom textdrawu nema text size?
Danisoni
5
Godfather
31. Jul 2018.
Gdje pozivas stvaranje i Selecg?
Posalji nam to i textdrawcreate dio
ivan221
5
Made Man
🔥2
1. Avg. 2018.
Je l imas TextDrawSetSelectable na tod tdu sto treba da kliknes?
M!chaeL
5
Underboss
1. Avg. 2018.
PazzOnee wrote on August 1, 2018, 6:54 am:
Je l imas TextDrawSetSelectable na tod tdu sto treba da kliknes?
Naravno
M!chaeL
5
Underboss
1. Avg. 2018.
Slade wrote on July 31, 2018, 11:13 pm:
Gdje pozivas stvaranje i Selecg?
Posalji nam to i textdrawcreate dio
mislis select?
Ovo ti je select ako si na to mislio
TextDrawSetSelectable(Laptop0, true);

inc ovaj deo msm da nije isti kao sto je u clicktextdrawu koji sam ostavio, znaci dao sam neki random primer, posto mi ni jedan svakako ne radi...
Laptop0 = TextDrawCreate(26.500000, 205.625000, "Counter Strike Global Offensive");

Ako bas treba primer iz gore navedene funkcije clicktextdraw kazi te dacu
Danisoni
5
Godfather
1. Avg. 2018.
Da mislio sam Select, na mobilnom sam


Posalji cijeli dio gdje je select (komandu ili sto je)
Posalji sve kod kreiranja tda,  ne samo textdrawcreate
M!chaeL
5
Underboss
1. Avg. 2018.
Slade wrote on August 1, 2018, 7:15 pm:
Da mislio sam Select, na mobilnom sam


Posalji cijeli dio gdje je select (komandu ili sto je)
Posalji sve kod kreiranja tda,  ne samo textdrawcreate
eo komanda sa kojom se dolazi do tog click tda
YCMD:laptop(playerid,params[],help)
{
    if(UlogovanProvera == 0) return SCM(playerid, -1, ""CRVENA" "SIVA"Moras se ulogovati da bi koristio ovu komandu!");
new i = PlayerInfo;
TogglePlayerControllable(playerid, true);
Frezovan = 1;
TextDrawHideForPlayer(playerid,Textdraw1);
TextDrawHideForPlayer(playerid,Textdraw2);
TextDrawHideForPlayer(playerid,Textdraw3);
TextDrawHideForPlayer(playerid,Textdraw4);
TextDrawHideForPlayer(playerid,Textdraw5);
TextDrawHideForPlayer(playerid,Textdraw6);
TextDrawHideForPlayer(playerid,Textdraw7);
TextDrawHideForPlayer(playerid,Textdraw8);
TextDrawHideForPlayer(playerid,Textdraw9);
TextDrawHideForPlayer(playerid,Textdraw10);
TextDrawHideForPlayer(playerid,Textdraw11);
TextDrawHideForPlayer(playerid,Textdraw12);
TextDrawHideForPlayer(playerid,Textdraw13);
TextDrawHideForPlayer(playerid,Textdraw14);
TextDrawHideForPlayer(playerid,Logo1);
TextDrawHideForPlayer(playerid,Logo2);
TextDrawHideForPlayer(playerid,Logo3);
TextDrawHideForPlayer(playerid,Logo4);
TextDrawHideForPlayer(playerid,Logo5);
TextDrawShowForPlayer(playerid,Laptop0);
TextDrawShowForPlayer(playerid,Laptop1);
TextDrawShowForPlayer(playerid,Laptop2);
TextDrawShowForPlayer(playerid,Laptop3);
TextDrawShowForPlayer(playerid,Laptop4);
TextDrawShowForPlayer(playerid,Laptop5);
TextDrawShowForPlayer(playerid,Laptop6);
TextDrawShowForPlayer(playerid,Laptop7);
TextDrawShowForPlayer(playerid,Laptop8);
TextDrawShowForPlayer(playerid,Laptop9);
TextDrawShowForPlayer(playerid,Laptop10);
SelectTextDraw(playerid, 0x00FF00FF);
return 1;
}

A ovo je primer za jedan od tdova (click tdova)
  Laptop0 = TextDrawCreate(26.500000, 205.625000, "Counter Strike Global Offensive");
TextDrawLetterSize(Laptop0, 0.571500, 3.043747);
TextDrawAlignment(Laptop0, 1);
TextDrawColor(Laptop0, -2139094785);
TextDrawSetShadow(Laptop0, 0);
TextDrawSetOutline(Laptop0, 1);
TextDrawBackgroundColor(Laptop0, 51);
TextDrawFont(Laptop0, 2);
TextDrawSetProportional(Laptop0, 1);
    TextDrawSetSelectable(Laptop0, true);
Danisoni
5
Godfather
1. Avg. 2018.
TextDrawTextSize(Laptop0, 621.000000, 0.000000);


Dodaj ispod TextDrawCreate i probaj radi li.
M!chaeL
5
Underboss
2. Avg. 2018.
Slade wrote on August 1, 2018, 10:15 pm:
TextDrawTextSize(Laptop0, 621.000000, 0.000000);


Dodaj ispod TextDrawCreate i probaj radi li.
Opet ne radi
Danisoni
5
Godfather
2. Avg. 2018.
TextDrawTextSize(Laptop0, 100.000000, 100.000000);


Probaj ovako
M!chaeL
5
Underboss
2. Avg. 2018.
Slade wrote on August 2, 2018, 11:32 pm:
TextDrawTextSize(Laptop0, 100.000000, 100.000000);


Probaj ovako
Kad sam dodao to povecali su mi se tdovi i pojebali (pomesali) i opet se nista ne desava
Danisoni
5
Godfather
3. Avg. 2018.
TextDrawTextSize(Laptop0, 50.000000, 10.000000);
TextDrawUseBox(Laptop0, 1);
TextDrawBoxColor(Laptop0, 0);

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha