[POMOC] player textdraw


Započeo X_G1, Novembar 24, 2014, 16:31:00 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:moja
Detaljan opis problema:Daje mi ove warninge

C:\Users\pc\Desktop\igrice i ostalo\samp srw\rp\gamemodes\PAC-RP.pwn(10164) : warning 213: tag mismatch
C:\Users\pc\Desktop\igrice i ostalo\samp srw\rp\gamemodes\PAC-RP.pwn(10164) : warning 213: tag mismatch
C:\Users\pc\Desktop\igrice i ostalo\samp srw\rp\gamemodes\PAC-RP.pwn(10164) : warning 202: number of arguments does not match definition
C:\Users\pc\Desktop\igrice i ostalo\samp srw\rp\gamemodes\PAC-RP.pwn(59653) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase

Header size:          19760 bytes
Code size:          3955232 bytes
Data size:         70230848 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:74222224 bytes

4 Warnings.
Dio skripte:
PlayerTextDrawSetSelectable(T71[playerid], true);

ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","Login","Izlaz");

Neke slike/video za lakse dobivanje pomoci(neobavezno)
Poslednja Izmena: Novembar 24, 2014, 18:24:57 POSLE PODNE od X_G1

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~


Rjesio sam to ali imam novi problem.
Stavio sam jedan tetxdraw selectable. Kliknem na njega i niÅ¡ta se ne dogaÄ'a evo code
if(playertextid == T71[playerid])
    {
      ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","~b~~h~Dobrodosli","Login","Izlaz");
	  TextDrawHideForPlayer(playerid,T67);
      TextDrawHideForPlayer(playerid,T68);
      TextDrawHideForPlayer(playerid,T69);
      TextDrawHideForPlayer(playerid,T70);
      PlayerTextDrawHide(playerid,T71[playerid]);
      TextDrawHideForPlayer(playerid,T72);
      TextDrawHideForPlayer(playerid,T73);
      TextDrawHideForPlayer(playerid,T74);
    }
    return 1;

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~

PlayerTextDrawHide(playerid,T71[playerid]);

Oprosti ne razumijem te.Å to sa tim ?

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~

Zna li iko do cega je ?

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~


Ja sam ovako uradio.
    T71[playerid] = CreatePlayerTextDraw(playerid,278.400115, 35.093322, "Login");
    PlayerTextDrawAlignment(playerid, T71[playerid],1);
    PlayerTextDrawBackgroundColor(playerid, T71[playerid],-1);
    PlayerTextDrawFont(playerid, T71[playerid], 3);
    PlayerTextDrawLetterSize(playerid, T71[playerid], 0.449999, 1.600000);
    PlayerTextDrawColor(playerid, T71[playerid],16711935);
    PlayerTextDrawSetProportional(playerid, T71[playerid], 1);
    PlayerTextDrawSetShadow(playerid, T71[playerid], 1);

  PlayerTextDrawSetSelectable(playerid,T71[playerid],1);

  PlayerTextDrawShow(playerid,T71[playerid]);

ovaj td sam stavio u public onplayerconnect.

if(playertextid == T71[playerid])
    {
      ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","~b~~h~Dobrodosli","Login","Izlaz");
	  TextDrawHideForPlayer(playerid,T67);
      TextDrawHideForPlayer(playerid,T68);
      TextDrawHideForPlayer(playerid,T69);
      TextDrawHideForPlayer(playerid,T70);
      PlayerTextDrawHide(playerid,T71[playerid]);
      TextDrawHideForPlayer(playerid,T72);
      TextDrawHideForPlayer(playerid,T73);
      TextDrawHideForPlayer(playerid,T74);
    }
    return 1;

a ovo u public onplayerclickplayertextdraw.
Meni ga prikaže i ja kliknem na njega ali se niÅ¡ta ne dogaÄ'a.U čemu grijeÅ¡im?

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~

Pa dodas ispod sta oces da se desi....ne kontam te

Rijesio sam.Moze lock.

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~