[Ajuda] TextDraw
#1

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.
Reply
#2

Vocк estб usando PlayerTextDraw ?
Reply
#3

Quote:
Originally Posted by FerrariL
Посмотреть сообщение
Vocк estб usando PlayerTextDraw ?
Para isso acontecer ele deve estar a usar algo de global serб?
Reply
#4

Quote:
Originally Posted by HelderPT
Посмотреть сообщение
Para isso acontecer ele deve estar a usar algo de global serб?
Provavelmente estб usando global.
Reply
#5

Nгo estб global

PHP код:
    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); 
Reply
#6

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.
Reply
#7

Jб estб assim:

PHP код:
new pNome[MAX_PLAYERS];
new 
pSenha[MAX_PLAYERS]; 
Quando clica em entrar

PHP код:
    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;
    } 
Reply
#8

O erro estб aqui provavelmente, por que й armazenada em pNome e nгo em pNome[playerid]!

Seu colocar "pNome[playerid]", buga

PHP код:
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 ?
Reply
#9

Quote:
Originally Posted by CALENZ021
Посмотреть сообщение
O erro estб aqui provavelmente, por que й armazenada em pNome e nгo em pNome[playerid]!

Seu colocar "pNome[playerid]", buga

PHP код:
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.
Reply
#10

Fazer Com que pNome receba "inputtext"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)