|POMOC|Oko td timmer


Započeo Tommy_Vercetty, Mart 20, 2016, 21:13:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

a pod kakav public si stavio taj kod CreatePlayerTextDraw(playerid, 503.000000, 379.312500, "New Textdraw"); pošto vidim da je linija gore neka na vrhu.

stavio sam pod OnPlayerSpawn  da mi textdraw ucita na sapwnu :D

Posalji sve te kodove vezano za taj textdraw, i iznad i ispod.

new PlayerText:crna20[MAX_PLAYERS];
public OnPlayerSpawn
crna20[playerid] = CreatePlayerTextDraw(playerid, 503.000000, 379.312500, "New Textdraw");
	PlayerTextDrawLetterSize(playerid, crna20[playerid], 0.449999, 1.600000);
	PlayerTextDrawTextSize(playerid, crna20[playerid], 104.500000, 106.312500);
	PlayerTextDrawAlignment(playerid, crna20[playerid], 1);
	PlayerTextDrawColor(playerid, crna20[playerid], -1);
	PlayerTextDrawBoxColor(playerid, crna20[playerid], 0);
	PlayerTextDrawSetShadow(playerid, crna20[playerid], 0);
	PlayerTextDrawSetOutline(playerid, crna20[playerid], 1);
	PlayerTextDrawFont(playerid, crna20[playerid], 5);
	PlayerTextDrawSetProportional(playerid, crna20[playerid], 1);
	PlayerTextDrawBackgroundColor(playerid, crna20[playerid], 0x00000000);
 	PlayerTextDrawSetPreviewModel(playerid, crna20[playerid], GetPlayerSkin(playerid));
	PlayerTextDrawSetPreviewRot(playerid, crna20[playerid], 0.000000, 0.000000, 0.000000, 1.000000);


ovo ostalo sam stavlja da prikaze td SetPlayerSkin
Poslednja Izmena: Mart 21, 2016, 01:33:40 PRE PODNE od Tommy_Vercetty

Ne vidim ovdje nikakvu grešku, možda linija iznad stvara problem negdje si propustio nesto pogledaj to.

pa mozes mi reci kako da dodam na mjestimima gdje se seta skin da se updatuje _

Ako ti ne bude radilo javi se na fb ili ovde !

   crna20[playerid] = CreatePlayerTextDraw(playerid, 503.000000, 379.312500, "_");
    PlayerTextDrawLetterSize(playerid,crna20[playerid], 0.449999, 1.600000);
    PlayerTextDrawTextSize(playerid, crna20[playerid], 104.500000, 106.312500);
    PlayerTextDrawAlignment(playerid,crna20[playerid], 1);
    PlayerTextDrawColor(playerid,crna20[playerid], -1);
    PlayerTextDrawSetShadow(playerid,crna20[playerid], 0);
    PlayerTextDrawSetOutline(playerid,crna20[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid,crna20[playerid], 0);
    PlayerTextDrawFont(playerid,crna20[playerid], 5);
    PlayerTextDrawSetProportional(playerid,crna20[playerid], 0);
    PlayerTextDrawSetShadow(playerid,crna20[playerid], 0);
    PlayerTextDrawSetPreviewModel(playerid,crna20[playerid], PlayerInfo[playerid][pChar]);{ SetTimer("Refreshskin", 1000, 0 ); }
    PlayerTextDrawSetPreviewRot(playerid, crna20[playerid], 0.000000, 0.000000, 0.000000, 1.000000);


public OnPlayerConnect(playerid)
{
   PlayerTextDrawHide(playerid, crna20[playerid]);
}


public OnPlayerDisconnect(playerid, reason)
{
    PlayerTextDrawDestroy(playerid, SlikaDole[playerid]);
}


public SetPlayerSpawn(playerid)
{
   PlayerTextDrawHide(playerid, crna20[playerid]);
}


public OnPlayerSpawn(playerid)
{
   PlayerTextDrawSetPreviewModel(playerid,crna20[playerid], PlayerInfo[playerid][pChar]);{ SetTimer("Refreshskin", 1000, 0 ); }
    PlayerTextDrawShow(playerid, crna20[playerid]);
}


   PlayerTextDrawSetPreviewModel(giveplayerid,crna20[giveplayerid], GetPlayerSkin(giveplayerid));{ SetTimer("Refreshskin", 1000, 0 ); } // Ovo dodaj u cmd setskin
   PlayerTextDrawShow(giveplayerid, crna20[giveplayerid]);



Poslednja Izmena: Mart 21, 2016, 08:34:23 PRE PODNE od United Extreme RolePlay

My PC:
# Procesor: AMD FX-8350 (8 x 4,0 GHz)
# Matična ploča: Asus M5A78M-M LX3
# Memorija: Kingston Fury 8 GB 1600 MHz
# Hard disk: Seagate / WD 500 GB
# Grafička kartica: GTX750-Ti 2 GB GDDR5
# Windows 8.1 64-Bit

Citat: United Extreme RolePlay poslato Mart 21, 2016, 08:29:13 PRE PODNE
Ako ti ne bude radilo javi se na fb ili ovde !

   crna20[playerid] = CreatePlayerTextDraw(playerid, 503.000000, 379.312500, "_");
    PlayerTextDrawLetterSize(playerid,crna20[playerid], 0.449999, 1.600000);
    PlayerTextDrawTextSize(playerid, crna20[playerid], 104.500000, 106.312500);
    PlayerTextDrawAlignment(playerid,crna20[playerid], 1);
    PlayerTextDrawColor(playerid,crna20[playerid], -1);
    PlayerTextDrawSetShadow(playerid,crna20[playerid], 0);
    PlayerTextDrawSetOutline(playerid,crna20[playerid], 0);
    PlayerTextDrawBackgroundColor(playerid,crna20[playerid], 0);
    PlayerTextDrawFont(playerid,crna20[playerid], 5);
    PlayerTextDrawSetProportional(playerid,crna20[playerid], 0);
    PlayerTextDrawSetShadow(playerid,crna20[playerid], 0);
    PlayerTextDrawSetPreviewModel(playerid,crna20[playerid], PlayerInfo[playerid][pChar]);{ SetTimer("Refreshskin", 1000, 0 ); }
    PlayerTextDrawSetPreviewRot(playerid, crna20[playerid], 0.000000, 0.000000, 0.000000, 1.000000);


public OnPlayerConnect(playerid)
{
   PlayerTextDrawHide(playerid, crna20[playerid]);
}


public OnPlayerDisconnect(playerid, reason)
{
    PlayerTextDrawDestroy(playerid, crna20[playerid]);
}


public SetPlayerSpawn(playerid)
{
   PlayerTextDrawHide(playerid, crna20[playerid]);
}


public OnPlayerSpawn(playerid)
{
   PlayerTextDrawSetPreviewModel(playerid,crna20[playerid], PlayerInfo[playerid][pChar]);{ SetTimer("Refreshskin", 1000, 0 ); }
    PlayerTextDrawShow(playerid, crna20[playerid]);
}


   PlayerTextDrawSetPreviewModel(giveplayerid,crna20[giveplayerid], GetPlayerSkin(giveplayerid));{ SetTimer("Refreshskin", 1000, 0 ); } // Ovo dodaj u cmd setskin
   PlayerTextDrawShow(giveplayerid, crna20[giveplayerid]);


My PC:
# Procesor: AMD FX-8350 (8 x 4,0 GHz)
# Matična ploča: Asus M5A78M-M LX3
# Memorija: Kingston Fury 8 GB 1600 MHz
# Hard disk: Seagate / WD 500 GB
# Grafička kartica: GTX750-Ti 2 GB GDDR5
# Windows 8.1 64-Bit


Citat: K ROSE poslato Mart 20, 2016, 23:51:39 POSLE PODNE
Ne radi to sto ti ovi govore, samo ces bezveze sebi erore napraviti, a još ih neces znati rijesiti.
Ne vidim razlog zasto ne bih radilo  :)
You have enemies? Good. That means you've stood up for something, sometime in your life.

Netreba otvarat temu ja sam mu tu objasnio i radi mu

My PC:
# Procesor: AMD FX-8350 (8 x 4,0 GHz)
# Matična ploča: Asus M5A78M-M LX3
# Memorija: Kingston Fury 8 GB 1600 MHz
# Hard disk: Seagate / WD 500 GB
# Grafička kartica: GTX750-Ti 2 GB GDDR5
# Windows 8.1 64-Bit