03.12.2018, 20:06
I'm not the smartest to help, but I'm trying
Try to change in your function
Try to change in your function
PHP код:
LoadTextDrawsPlayerid(playerid)
{
new name[MAX_PLAYER_NAME], string[MAX_PLAYER_NAME + 30];
hudjos[playerid] = CreatePlayerTextDraw(playerid, 637.174377, 432.083404, "NUME / RPG.NEVER-END.RO");
PlayerTextDrawLetterSize(playerid, hudjos[playerid], 0.365797, 1.629166);
PlayerTextDrawTextSize(playerid, hudjos[playerid], 26.000000, 0.000000);
PlayerTextDrawAlignment(playerid, hudjos[playerid], 3);
PlayerTextDrawColor(playerid, hudjos[playerid], -1);
PlayerTextDrawSetShadow(playerid, hudjos[playerid], -1);
PlayerTextDrawSetOutline(playerid, hudjos[playerid], -1);
PlayerTextDrawBackgroundColor(playerid, hudjos[playerid], 255);
PlayerTextDrawFont(playerid, hudjos[playerid], 2);
PlayerTextDrawSetProportional(playerid, hudjos[playerid], 1);
PlayerTextDrawShow(playerid, hudjos[playerid]);
name[playerid] = GetName(playerid);
format(string, sizeof(string), "%s / RPG.NEVER-END.RO", name);
PlayerTextDrawSetString(playerid, hudjos[playerid], string);
}
//And edit OnPlayerConnect
public OnPlayerConnect(playerid)
{
LoadTextDrawsPlayerid(playerid);
ResetAccount(playerid); >>>> Dont mind this
LoadMapPlayerid(playerid); >>>> Dont mind this
return 1;
}