SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 11/06/2018, 02:20 PM   #1
CALENZ021
Little Clucker
 
CALENZ021's Avatar
 
Join Date: Jun 2018
Location: RJ
Posts: 27
Reputation: 0
Exclamation TextDraw Login / Registro

Essa é minha tela de login :



Quando "dois" ou "Mais" Player loga ao mesmo tempo... Um meche no login do outro, causando assim interferência nos dados.
__________________
.

Last edited by CALENZ021; 11/06/2018 at 04:13 PM.
CALENZ021 is offline   Reply With Quote
Old 11/06/2018, 03:09 PM   #2
FerrariL
Gangsta
 
FerrariL's Avatar
 
Join Date: Sep 2016
Location: Goiânia
Posts: 503
Reputation: 21
Default Re: TextDraw

Você está usando PlayerTextDraw ?
__________________
Faço sistemas por encomenda, discord: FerrariL
#5104
FerrariL is offline   Reply With Quote
Old 11/06/2018, 03:32 PM   #3
HelderPT
Huge Clucker
 
HelderPT's Avatar
 
Join Date: Jan 2018
Location: São Miguel
Posts: 445
Reputation: 17
Default Re: TextDraw

Quote:
Originally Posted by FerrariL View Post
Você está usando PlayerTextDraw ?
Para isso acontecer ele deve estar a usar algo de global será?
__________________
Para mim, sábio não é aquele que proclama palavras de sabedoria, mas sim aquele que demonstra sabedoria em seus atos.
HelderPT is offline   Reply With Quote
Old 11/06/2018, 03:33 PM   #4
ipsLuan
High-roller
 
ipsLuan's Avatar
 
Join Date: Feb 2013
Location: /home/luan
Posts: 3,264
Reputation: 273
Default Re: TextDraw

Quote:
Originally Posted by HelderPT View Post
Para isso acontecer ele deve estar a usar algo de global será?
Provavelmente está usando global.
__________________
Está procurando um programador? Contate-me!
ipsLuan is offline   Reply With Quote
Old 11/06/2018, 03:41 PM   #5
CALENZ021
Little Clucker
 
CALENZ021's Avatar
 
Join Date: Jun 2018
Location: RJ
Posts: 27
Reputation: 0
Default Re: TextDraw

Não está global

PHP Code:
    PlayerRegistro[0][playerid] = CreatePlayerTextDraw(playerid236.60015876.210281"_");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[0][playerid], 0.00000026.149972);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[0][playerid], 402.6001580.000000);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[0][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[0][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerRegistro[0][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerRegistro[0][playerid], 120);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[0][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[0][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[0][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[0][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[0][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[0][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[0][playerid], false);

    
PlayerRegistro[1][playerid] = CreatePlayerTextDraw(playerid237.00000075.511093"_");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[1][playerid], 0.0000004.799997);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[1][playerid], 403.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[1][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[1][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerRegistro[1][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerRegistro[1][playerid], -2139062132);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[1][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[1][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[1][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[1][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[1][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[1][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[1][playerid], false);

    
PlayerRegistro[2][playerid] = CreatePlayerTextDraw(playerid261.000000170.910430"_");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[2][playerid], 0.0000001.850000);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[2][playerid], 377.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[2][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[2][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerRegistro[2][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerRegistro[2][playerid], -2139062017);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[2][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[2][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[2][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[2][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[2][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[2][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[2][playerid], false);

    
PlayerRegistro[3][playerid] = CreatePlayerTextDraw(playerid261.000000197.212036"_");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[3][playerid], 0.0000001.850000);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[3][playerid], 377.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[3][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[3][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerRegistro[3][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerRegistro[3][playerid], -2139062017);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[3][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[3][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[3][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[3][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[3][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[3][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[3][playerid], false);

    
PlayerRegistro[4][playerid] = CreatePlayerTextDraw(playerid261.000000223.167572"_");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[4][playerid], 0.0000001.850000);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[4][playerid], 377.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[4][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[4][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerRegistro[4][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerRegistro[4][playerid], -2139062017);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[4][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[4][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[4][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[4][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[4][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[4][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[4][playerid], false);

    
PlayerRegistro[5][playerid] = CreatePlayerTextDraw(playerid294.700012252.069335"_");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[5][playerid], 0.0000001.750000);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[5][playerid], 342.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[5][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[5][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerRegistro[5][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerRegistro[5][playerid], 8388863);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[5][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[5][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[5][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[5][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[5][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[5][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[5][playerid], false);

    
PlayerRegistro[6][playerid] = CreatePlayerTextDraw(playerid270.00000084.222190"Comunidade~n~_____vida_real");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[6][playerid], 0.4000001.600000);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[6][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[6][playerid], 41215);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[6][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[6][playerid], 1);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[6][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[6][playerid], 3);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[6][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[6][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[6][playerid], false);

    
PlayerRegistro[7][playerid] = CreatePlayerTextDraw(playerid238.500000300.755615"somos_todos_rpg");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[7][playerid], 0.1985001.039998);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[7][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[7][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[7][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[7][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[7][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[7][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[7][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[7][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[7][playerid], false);

    
PlayerRegistro[8][playerid] = CreatePlayerTextDraw(playerid269.000000172.277069"Digite_aqui_seu_nome");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[8][playerid], 0.2214991.375998);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[8][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[8][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[8][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[8][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[8][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[8][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[8][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[8][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[8][playerid], 370.00000010.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[8][playerid], true);

    
PlayerRegistro[9][playerid] = CreatePlayerTextDraw(playerid266.000000198.088897"Digite_aqui_sua_senha");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[9][playerid], 0.2214991.375998);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[9][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[9][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[9][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[9][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[9][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[9][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[9][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[9][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[9][playerid], 372.00000010.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[9][playerid], true);

    
PlayerRegistro[10][playerid] = CreatePlayerTextDraw(playerid266.700073224.222259"Digite_aqui_seu_e-mail");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[10][playerid], 0.2214991.375998);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[10][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[10][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[10][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[10][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[10][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[10][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[10][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[10][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[10][playerid], 373.00000010.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[10][playerid], true);

    
PlayerRegistro[11][playerid] = CreatePlayerTextDraw(playerid296.700073253.466705"registrar");
    
PlayerTextDrawLetterSize(playeridPlayerRegistro[11][playerid], 0.1860001.332443);
    
PlayerTextDrawAlignment(playeridPlayerRegistro[11][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerRegistro[11][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[11][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerRegistro[11][playerid], 1);
    
PlayerTextDrawBackgroundColor(playeridPlayerRegistro[11][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerRegistro[11][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerRegistro[11][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerRegistro[11][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerRegistro[11][playerid], 341.00000010.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerRegistro[11][playerid], true);

    
PlayerLogin[0][playerid] = CreatePlayerTextDraw(playerid236.60015876.210281"_");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[0][playerid], 0.00000026.149972);
    
PlayerTextDrawTextSize(playeridPlayerLogin[0][playerid], 402.6001580.000000);
    
PlayerTextDrawAlignment(playeridPlayerLogin[0][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[0][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerLogin[0][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerLogin[0][playerid], 120);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[0][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[0][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[0][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[0][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[0][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[0][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[0][playerid], false);

    
PlayerLogin[1][playerid] = CreatePlayerTextDraw(playerid237.00000075.511093"_");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[1][playerid], 0.0000004.799998);
    
PlayerTextDrawTextSize(playeridPlayerLogin[1][playerid], 403.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerLogin[1][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[1][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerLogin[1][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerLogin[1][playerid], -2139062132);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[1][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[1][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[1][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[1][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[1][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[1][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[1][playerid], false);

    
PlayerLogin[2][playerid] = CreatePlayerTextDraw(playerid261.000000181.911102"_");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[2][playerid], 0.0000001.850001);
    
PlayerTextDrawTextSize(playeridPlayerLogin[2][playerid], 377.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerLogin[2][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[2][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerLogin[2][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerLogin[2][playerid], -2139062017);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[2][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[2][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[2][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[2][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[2][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[2][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[2][playerid], false);

    
PlayerLogin[3][playerid] = CreatePlayerTextDraw(playerid261.000000210.812866"_");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[3][playerid], 0.0000001.850001);
    
PlayerTextDrawTextSize(playeridPlayerLogin[3][playerid], 377.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerLogin[3][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[3][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerLogin[3][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerLogin[3][playerid], -2139062017);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[3][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[3][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[3][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[3][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[3][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[3][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[3][playerid], false);

    
PlayerLogin[4][playerid] = CreatePlayerTextDraw(playerid292.202484252.677917"_");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[4][playerid], 0.0000001.900001);
    
PlayerTextDrawTextSize(playeridPlayerLogin[4][playerid], 347.7024840.000000);
    
PlayerTextDrawAlignment(playeridPlayerLogin[4][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[4][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerLogin[4][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerLogin[4][playerid], -1523963137);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[4][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[4][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[4][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[4][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[4][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[4][playerid], 0);
    
PlayerTextDrawSetSelectable(playerid,PlayerLogin[4][playerid], false);

    
PlayerLogin[5][playerid] = CreatePlayerTextDraw(playerid,355.202484292.500183"_");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[5][playerid], 0.0000001.550001);
    
PlayerTextDrawTextSize(playeridPlayerLogin[5][playerid], 399.0000000.000000);
    
PlayerTextDrawAlignment(playeridPlayerLogin[5][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[5][playerid], -1);
    
PlayerTextDrawUseBox(playeridPlayerLogin[5][playerid], 1);
    
PlayerTextDrawBoxColor(playeridPlayerLogin[5][playerid], 8388863);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[5][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[5][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[5][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[5][playerid], 1);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[5][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[5][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[5][playerid], false);

    
PlayerLogin[6][playerid] = CreatePlayerTextDraw(playerid241.500000292.666687"Ainda_nao_tem_conta_?");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[6][playerid], 0.2045001.413332);
    
PlayerTextDrawAlignment(playeridPlayerLogin[6][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[6][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[6][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[6][playerid], 1);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[6][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[6][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[6][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[6][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[6][playerid], false);

    
PlayerLogin[7][playerid] = CreatePlayerTextDraw(playerid270.00000084.222190"Comunidade~n~_____vida_real");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[7][playerid], 0.4000001.600000);
    
PlayerTextDrawAlignment(playeridPlayerLogin[7][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[7][playerid], 41215);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[7][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[7][playerid], 1);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[7][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[7][playerid], 3);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[7][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[7][playerid], 0);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[7][playerid], false);

    
PlayerLogin[8][playerid] = CreatePlayerTextDraw(playerid269.000000183.777770"Digite_aqui_seu_nome");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[8][playerid], 0.2215001.375999);
    
PlayerTextDrawAlignment(playeridPlayerLogin[8][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[8][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[8][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[8][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[8][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[8][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[8][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[8][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerLogin[8][playerid], 370.00000010.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[8][playerid], true);

    
PlayerLogin[9][playerid] = CreatePlayerTextDraw(playerid266.000000211.777801"Digite_aqui_sua_senha");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[9][playerid], 0.2215001.375999);
    
PlayerTextDrawAlignment(playeridPlayerLogin[9][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[9][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[9][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[9][playerid], 0);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[9][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[9][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[9][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[9][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerLogin[9][playerid], 372.00000010.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[9][playerid], true);

    
PlayerLogin[10][playerid] = CreatePlayerTextDraw(playerid296.500000253.466735"Entrar");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[10][playerid], 0.2945001.469333);
    
PlayerTextDrawAlignment(playeridPlayerLogin[10][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[10][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[10][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[10][playerid], 1);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[10][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[10][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[10][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[10][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerLogin[10][playerid], 345.00000010.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[10][playerid], true);

    
PlayerLogin[11][playerid] = CreatePlayerTextDraw(playerid357.800079292.644592"Registrar");
    
PlayerTextDrawLetterSize(playeridPlayerLogin[11][playerid], 0.1720001.413332);
    
PlayerTextDrawAlignment(playeridPlayerLogin[11][playerid], 1);
    
PlayerTextDrawColor(playeridPlayerLogin[11][playerid], -1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[11][playerid], 0);
    
PlayerTextDrawSetOutline(playeridPlayerLogin[11][playerid], 1);
    
PlayerTextDrawBackgroundColor(playeridPlayerLogin[11][playerid], 255);
    
PlayerTextDrawFont(playeridPlayerLogin[11][playerid], 2);
    
PlayerTextDrawSetProportional(playeridPlayerLogin[11][playerid], 1);
    
PlayerTextDrawSetShadow(playeridPlayerLogin[11][playerid], 0);
    
PlayerTextDrawTextSize(playeridPlayerLogin[11][playerid], 400.0000009.000000);
    
PlayerTextDrawSetSelectable(playeridPlayerLogin[11][playerid], true); 
__________________
.
CALENZ021 is offline   Reply With Quote
Old 11/06/2018, 04:20 PM   #6
FerrariL
Gangsta
 
FerrariL's Avatar
 
Join Date: Sep 2016
Location: Goiânia
Posts: 503
Reputation: 21
Default Re: TextDraw

Talvez possa ser a definição da variável, exemplo: new Senha (Isso causaria conflito) o correto seria new Senha[MAX_PLAYERS], cada player teria sua senha.
__________________
Faço sistemas por encomenda, discord: FerrariL
#5104
FerrariL is offline   Reply With Quote
Old 11/06/2018, 04:38 PM   #7
CALENZ021
Little Clucker
 
CALENZ021's Avatar
 
Join Date: Jun 2018
Location: RJ
Posts: 27
Reputation: 0
Default Re: TextDraw

Já está assim:

PHP Code:
new pNome[MAX_PLAYERS];
new 
pSenha[MAX_PLAYERS]; 
Quando clica em entrar

PHP Code:
    if(playertextid == PlayerLogin[10][playerid])  //entrar
    
{
        if(
pNome[playerid] <= 0)return SendClientMessage(playeridC_ERRO"| ERRO | Nome não digitado !");

        if(
pSenha[playerid] <= 0)return SendClientMessage(playeridC_ERRO"| ERRO | Senha não digitado !");

        new 
file[50];
        
format(filesizeof(file), PASTA_CONTASpNome[playerid]);

        if(
DOF2_FileExists(file))
        {
            if(
strcmp(pSenha[playerid], DOF2_GetString(file"Senha"), false) == 0)
            {
                return 
CarregarContas(playerid);

            } else {

                
SendClientMessage(playeridC_ERRO"| ERRO | Verifique se está tudo correto!");
                return 
1;
            }

        } else {

            
SendClientMessage(playeridC_ERRO"| ERRO | Conta não cadastrada!");
        }
        return 
1;
    } 
__________________
.
CALENZ021 is offline   Reply With Quote
Old 11/06/2018, 05:05 PM   #8
CALENZ021
Little Clucker
 
CALENZ021's Avatar
 
Join Date: Jun 2018
Location: RJ
Posts: 27
Reputation: 0
Default Re: TextDraw

O erro está aqui provavelmente, por que é armazenada em pNome e não em pNome[playerid]!

Seu colocar "pNome[playerid]", buga

PHP Code:
if(dialogid == LOGIN_NOME)   //LOGIN
    
{
        if(
strlen(inputtext) >= 1)
        {
            if(
response)
            {                                            
                
strcat((pNome[playerid] =0pNome), inputtext);//aqui
                
PlayerTextDrawSetString(playeridPlayerLogin[8][playerid], pNome[playerid]);
            }
            if(!
response)
            {

            }
        }
        return 
1;
    } 
Ajuda alguem ?
__________________
.
CALENZ021 is offline   Reply With Quote
Old 11/06/2018, 05:30 PM   #9
FerrariL
Gangsta
 
FerrariL's Avatar
 
Join Date: Sep 2016
Location: Goiânia
Posts: 503
Reputation: 21
Default Re: TextDraw

Quote:
Originally Posted by CALENZ021 View Post
O erro está aqui provavelmente, por que é armazenada em pNome e não em pNome[playerid]!

Seu colocar "pNome[playerid]", buga

PHP Code:
if(dialogid == LOGIN_NOME)   //LOGIN
    
{
        if(
strlen(inputtext) >= 1)
        {
            if(
response)
            {                                            
                
strcat((pNome[playerid] =0pNome), inputtext);//aqui
                
PlayerTextDrawSetString(playeridPlayerLogin[8][playerid], pNome[playerid]);
            }
            if(!
response)
            {

            }
        }
        return 
1;
    } 
Ajuda alguem ?
Qual a funcionalidade deste código ? explique-se.
__________________
Faço sistemas por encomenda, discord: FerrariL
#5104
FerrariL is offline   Reply With Quote
Old 11/06/2018, 05:45 PM   #10
CALENZ021
Little Clucker
 
CALENZ021's Avatar
 
Join Date: Jun 2018
Location: RJ
Posts: 27
Reputation: 0
Default Re: TextDraw

Fazer Com que pNome receba "inputtext"
__________________
.
CALENZ021 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Making a Health/armour textdraw! (Global textdraw) -Rebel Son- Tutorials 21 23/10/2017 09:00 AM
Moving a textdraw on the y-axis doesn't work. (TextDraw Editor) AndySedeyn Scripting Help 1 14/06/2014 02:50 PM
[FilterScript] [FS] TextDraw editor 0.6 - Multiple textdraw support, for proffesional textdraws Zamaroht Filterscripts 369 20/01/2013 02:46 PM
[Tutorial] --: Creating Textdraw's In The Easiest Way :-- [Helpful for textdraw creators] Nirzor Tutorials 15 04/10/2012 12:32 PM


All times are GMT. The time now is 04:10 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.