13.03.2013, 17:10
Quote:
Cool, would be great if you added IsPlayerAimingAtPlayer :P So we can set timers and know the exact time of aiming. I can think of a 1000 uses for that !
|
PHP код:
stock IsPlayerAimingAtPlayer(playerid)
{
if(GetPlayerTargetPlayer(playerid) != INVALID_PLAYER_ID) return 1;
return 0;
}
stock IsPlayerAimingAtPlayer(playerid,aimedplayer)
{
if(GetPlayerTargetPlayer(playerid) == aimedplayer) return 1;
return 0;
}