Textdraw as a crosshair? -
SpiderPork - 28.03.2009
Is it possible to create a textdraw in front of a player, like in some plane-shooter games?
Like a crosshair. If yes, how?
If they move the camera somewhere else, than in front of them, the textdraw dissapears.
Re: Textdraw as a crosshair? -
SpiderPork - 28.03.2009
Any help?
Re: Textdraw as a crosshair? -
weedarr - 28.03.2009
I reckon that it isn't possible.
WeeDarr
Re: Textdraw as a crosshair? -
SpiderPork - 28.03.2009
Hmmm... Maybe if I could try to get player camera's looking position and check if it's in front of a player?
Re: Textdraw as a crosshair? -
Kinetic - 28.03.2009
Quote:
Originally Posted by ʞɹod ɹǝpıds || SpiderPork
Hmmm... Maybe if I could try to get player camera's looking position and check if it's in front of a player?
|
or detect when a player shoots and turns it on for a certain amount of time, and after a few seconds it goes away.
Re: Textdraw as a crosshair? -
weedarr - 28.03.2009
Is this when they are in a plane? or on foot or what?
WeeDarr
Re: Textdraw as a crosshair? -
SpiderPork - 28.03.2009
In a vehicle, more exact in a plane.
Re: Textdraw as a crosshair? -
Kinetic - 28.03.2009
Quote:
Originally Posted by ʞɹod ɹǝpıds || SpiderPork
In a vehicle, more exact in a plane.
|
Ah, I was assuming on foot, I dont think its possible for crosshairs in a plane, but who knows, I have seen a lot of stuff that I didnt think was possible released here on the forum.
Re: Textdraw as a crosshair? -
weedarr - 28.03.2009
Not possible, for the reason if you bank round on a plane, it faces a different direction and the camera wont stay exactly bechind the plane. Try it yourself, go ingame and just do a turn with a rustler.
WeeDarr
Re: Textdraw as a crosshair? -
SpiderPork - 28.03.2009
Damn it, it would be perfect for my upcoming script

.
Re: Textdraw as a crosshair? -
boylett - 28.03.2009
The default cross hair used by SA always stays in the same place on the screen.. so why wouldn't it be possible?
Re: Textdraw as a crosshair? -
weedarr - 28.03.2009
Because you dont get a crosshair whilst in a plane? Also my last point
Quote:
Originally Posted by WeeDarr
Not possible, for the reason if you bank round on a plane, it faces a different direction and the camera wont stay exactly bechind the plane. Try it yourself, go ingame and just do a turn with a rustler.
WeeDarr
|
WeeDarr
Re: Textdraw as a crosshair? -
introzen - 28.03.2009
Change camera by pressing V and then delete your post...
Re: Textdraw as a crosshair? -
worxds - 28.03.2009
It is possible by e.g. drawing | and then -- over it.
Re: Textdraw as a crosshair? -
SpiderPork - 28.03.2009
Quote:
Originally Posted by worxds
It is possible by e.g. drawing | and then -- over it.
|
It'll show wherever you look at.