13.01.2017, 23:37
Vocк tem que formatar a variбvel (string) "Arquivo" onde sгo salvas as contas.
Exe:
Exe:
PHP код:
format(Arquivo, sizeof(Arquivo), "Contas/%s.ini", PlayerName(playerid)); // <<<
TextTRG[1] = CreatePlayerTextDraw(playerid, 376.875000, 80.333351, "");
PlayerTextDrawLetterSize(playerid, TextTRG[1], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TextTRG[1], 113.000000, 147.000000);
PlayerTextDrawAlignment(playerid, TextTRG[1], 1);
PlayerTextDrawColor(playerid, TextTRG[1], -1);
PlayerTextDrawSetShadow(playerid, TextTRG[1], 0);
PlayerTextDrawSetOutline(playerid, TextTRG[1], 0);
PlayerTextDrawBackgroundColor(playerid, TextTRG[1], -256);
PlayerTextDrawFont(playerid, TextTRG[1], 5);
PlayerTextDrawSetProportional(playerid, TextTRG[1], 0);
PlayerTextDrawSetShadow(playerid, TextTRG[1], 0);
PlayerTextDrawSetPreviewModel(playerid, TextTRG[1], DOF2_GetInt(Arquivo, "Skin"));
PlayerTextDrawSetPreviewRot(playerid, TextTRG[1], 0.000000, 0.000000, 0.000000, 1.000000);