27.07.2011, 03:45
Question about TextDraw
27.07.2011, 04:01
You mean you want to remove player from the camera?
27.07.2011, 04:17
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
27.07.2011, 16:42
їNo one knows how to do this...?
27.07.2011, 16:45
You can set somewhere camera. SetPlayerCameraPos, SetPlayerCameraLookAt - maybe this should help you?
27.07.2011, 17:08
Yea.. In OnPlayerDeath make the camera look to where you want (Wall, Sea, Air, etc) and make a timer on PlayerRespawn..
27.07.2011, 17:12
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
27.07.2011, 17:16
I don't know what you mean exactly.. you mean set camera again on player? if yes.. just use in timer:
Код:
SetCameraBehindPlayer(playerid);
27.07.2011, 17:44
Let me explain how I can put the text without the skin...
Here is my function but it does not work as I want
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;
}
28.07.2011, 02:26
nobody knows?
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)