Question about TextDraw - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question about TextDraw (
/showthread.php?tid=272088)
Question about TextDraw -
D3IMON - 27.07.2011
Hello I need help, I am creating a TextDraw for when a player enters or dies to the server all is well with TextDraw but when you see the text also appears the skin of the player.
їanyone know how I can remove the skin and put only the text for a moment?
photo
Re: Question about TextDraw -
=WoR=Varth - 27.07.2011
You mean you want to remove player from the camera?
Respuesta: Question about TextDraw -
D3IMON - 27.07.2011
if for some moments and after 5 seconds have passed the player appears in the position that came out when I enter the server or died
Respuesta: Question about TextDraw -
D3IMON - 27.07.2011
їNo one knows how to do this...?
Re: Question about TextDraw -
Riddick94 - 27.07.2011
You can set somewhere camera. SetPlayerCameraPos, SetPlayerCameraLookAt - maybe this should help you?
Re: Question about TextDraw -
Crusher_Men - 27.07.2011
Yea.. In
OnPlayerDeath make the camera look to where you want (Wall, Sea, Air, etc) and make a timer on
PlayerRespawn..
Respuesta: Question about TextDraw -
D3IMON - 27.07.2011
if it could work but as knowing codes for the camera to know where is the player and to reposition the camera not to see the skin
Re: Question about TextDraw -
Riddick94 - 27.07.2011
I don't know what you mean exactly.. you mean set camera again on player? if yes.. just use in timer:
Код:
SetCameraBehindPlayer(playerid);
Respuesta: Question about TextDraw -
D3IMON - 27.07.2011
Let me explain how I can put the text without the skin...
Here is my function but it does not work as I want
pawn Код:
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Test);
new Float:x,Float:y,Float:z;
SetPlayerCameraPos(playerid,x, y, z);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
SetTimerEx("Test", 10000, 0, "d", playerid);
TogglePlayerControllable(playerid, 0);
return 1;
}
forward Test(playerid);
public Test(playerid)
{
TogglePlayerControllable(playerid, 1);
SetCameraBehindPlayer(playerid);
TextDrawHideForPlayer(playerid, Test);
SetTimerEx("Test", 5000, 0, "d", playerid);
return 1;
}
Respuesta: Question about TextDraw -
D3IMON - 28.07.2011
nobody knows?