[Pomoc] Error oko reg/log textdrawa

Započeo Jockz_Corleone, Maj 22, 2016, 13:21:05 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

[pawn]PlayerTextDrawTextSize(playerid,RegLogi[playerid][3], 140.430450, 0.000000);[/pawn]

Kako mislis da ti odredi radijus selektiranja? Umesto "0.0" stavi "40.0", na primer, pa kad vidis kako selektuje Å¡timaj ga kako ti odgovara.

I mislim da je 140.430450 preveliko...
Poslednja Izmena: Maj 22, 2016, 23:03:03 POSLE PODNE od ceLL_
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

Citat: ceLL_ poslato Maj 22, 2016, 23:01:30 POSLE PODNE
[pawn]PlayerTextDrawTextSize(playerid,RegLogi[playerid][3], 140.430450, 0.000000);[/pawn]

Kako mislis da ti odredi radijus selektiranja? Umesto "0.0" stavi "40.0", na primer, pa kad vidis kako selektuje Å¡timaj ga kako ti odgovara.

I mislim da je 140.430450 preveliko...
Ne znam ja sam radio po boxu napravio sam box oko texta i samo prekopirao X poziciju boxa

Citat: ceLL_ poslato Maj 22, 2016, 23:01:30 POSLE PODNE
[pawn]PlayerTextDrawTextSize(playerid,RegLogi[playerid][3], 140.430450, 0.000000);[/pawn]

Kako mislis da ti odredi radijus selektiranja? Umesto "0.0" stavi "40.0", na primer, pa kad vidis kako selektuje Å¡timaj ga kako ti odgovara.

I mislim da je 140.430450 preveliko...
Nece opet podesio sam 140 na 20, i 0.0 na 20 i nece opet da selektuje




i imas li ti uopste funkciju selecttextdraw ono?

Citat: Nickname123 poslato Maj 22, 2016, 23:51:09 POSLE PODNE
i imas li ti uopste funkciju selecttextdraw ono?
Evo ti imam http://prnt.sc/b7f4or , a ono za textsize kad izbrisem nece da mi selektuje register samo login i informacije i to ne selektuje posebno nego kad selektujem informacije on selektuje i login i informacije..

Citat: Nickname123 poslato Maj 22, 2016, 23:50:21 POSLE PODNE
onda izbrisi textsize.
Izbrisao sam textsize i sada kad kliknem na login, register ne iskacu mi dialozi??? A imam podeseno evo ti za login primer:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
//============================================================================//
    if(clickedid == RegLogi[playerid][3])
    {
//KillTimer(LogRegTimer[playerid]); g_SetPlayerHealth(playerid, 99.0); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);
if(fexist(Korisnici(playerid)))
{
new loginstring[512];
new loginname[126];
SpawnPlayer(playerid);
    CancelSelectTextDraw(playerid);
    PlayerTextDrawHide(playerid,RegLogi[playerid][0]);
PlayerTextDrawHide(playerid,RegLogi[playerid][1]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][2]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][3]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][4]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][5]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][6]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][7]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][8]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][9]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][10]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][11]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][12]);
    PlayerTextDrawHide(playerid,RegLogi[playerid][13]);
    SetPlayerInterior(playerid, 0); TogglePlayerControllable(playerid, 0);
SetPlayerFacingAngle(playerid, 139.7829); SetPlayerVirtualWorld(playerid, 0);
KillTimer(LogRegTimer[playerid]); g_SetPlayerHealth(playerid, 99.0);
SetPlayerPos(playerid, 1587.6107,-2340.0347,13.5400);
    InterpolateCameraPos(playerid, 1515.846679, -829.409912, 100.500595, 1368.072875, -951.241943, 65.167259, 20000);
InterpolateCameraLookAt(playerid, 1513.187377, -832.767211, 97.920539, 1369.059082, -947.407714, 62.113414, 20000);
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),""PLAVA""PLAVA"Dobrodosli na Prokuplje RolePlay\n\n"BELA"Vase ime: "PLAVA"%s\n"BELA"Unesite vasu lozinku\n"PLAVA"",loginname);
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Login","Izlaz");
}
else
{
        TextDrawHideForPlayer(playerid,Intro[0]); TextDrawHideForPlayer(playerid,Intro[1]); TextDrawHideForPlayer(playerid,Intro[2]);
        TextDrawHideForPlayer(playerid,Intro[3]); TextDrawHideForPlayer(playerid,Intro[4]); TextDrawHideForPlayer(playerid,Intro[5]);
        TextDrawHideForPlayer(playerid,Intro[6]); TextDrawHideForPlayer(playerid,Intro[7]); TextDrawHideForPlayer(playerid,Intro[8]);
        TextDrawHideForPlayer(playerid,Intro[9]); TextDrawHideForPlayer(playerid,Intro[10]);
        if(ServerInfo[isRegistracija] == 1)
    {
StatusKonekta(playerid, 5);
}
else if(ServerInfo[isRegistracija] != 1)
{
SendClientMessage(playerid, COLOR_PLAVA, ""PLAVA"[PKRP]"SIVA" Vi niste registrovani!");
}
}
} i na dalje tako za register...