About Muscle...
#8

Quote:
Originally Posted by JulietaZ
View Post
any hint about how to start searching? i mean what name..or what commands i need to search for in the wiki? XD
I believe someone wrote a filterscript containing a function like IsPlayerLookingAtPlayer(playerid, playerid2). Take a look at the code for that. If it is not around, you will need to read up on finding the angle between two vectors. The first vector being the position vector of the player with the melee weapon, and the second vector being the displacement between the first player and the second player. If you are still having trouble with this, I can post some pseudocode. Hope this helps!
Reply


Messages In This Thread
About Muscle... - by JulietaZ - 29.09.2010, 04:21
Re: About Muscle... - by Retardedwolf - 29.09.2010, 04:24
Re: About Muscle... - by Steven82 - 29.09.2010, 04:30
Re: About Muscle... - by samgreen - 29.09.2010, 04:47
Re: About Muscle... - by JulietaZ - 29.09.2010, 12:58
Re: About Muscle... - by samgreen - 29.09.2010, 13:28
Re: About Muscle... - by JulietaZ - 30.09.2010, 01:05
Re: About Muscle... - by samgreen - 30.09.2010, 03:09
Re: About Muscle... - by JulietaZ - 30.09.2010, 04:55

Forum Jump:


Users browsing this thread: 1 Guest(s)