fixed GetClientEyeAngles() again
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401618
This commit is contained in:
parent
c2644b2f94
commit
98e921c210
@ -605,7 +605,7 @@ static cell_t GetClientEyeAngles(IPluginContext *pContext, const cell_t *params)
|
||||
QAngle angles;
|
||||
bool got_angles = false;
|
||||
|
||||
if (pEntity == NULL)
|
||||
if (pEntity != NULL)
|
||||
{
|
||||
got_angles = GetEyeAngles(pEntity, &angles);
|
||||
}
|
||||
|
@ -213,7 +213,7 @@ native bool:DispatchKeyValueVector(entity, const String:keyName[], const Float:v
|
||||
* @return Entity index being aimed at.
|
||||
* -1 if no entity is being aimed at.
|
||||
* -2 if the function is not supported.
|
||||
* @error Invalid client index.
|
||||
* @error Invalid client index or client not in game.
|
||||
*/
|
||||
native GetClientAimTarget(client, bool:only_clients=true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user