27.08.2015, 16:24
Quote:
This is not only your problem. It happens to everybody. Objects placed on your head, will show up on your telescope when aiming. There is an include called AOX which could help you fixing this issue. Its topic is here.
|
Hello, thank you, I'm doing it right? so will make the mistake of sniper?
PHP код:
public OnPlayerConnect(playerid)
{
ToggleRemoveNormAOWeaponZoom(playerid, 1);
ToggleRemoveAOWeaponZoom(playerid, 0);
return 1;
}
//My bandana created:
SetPlayerTempAttachedObject(playerid, -1, 7, 19163, 2, 0.077000, 0.029000, -0.002000, -73.799880, 90.999992, -105.799987, 1.015999, 0.999000, 1.020001, 0, 0);
Quote:
AOX This include introduces Temporary Attached Objects, which are attached objects designed to be automatically removed after a certain time. An example usage of this would be attaching particle objects that disappear after a few seconds.Usage PHP код:
If you've played on a server with attached objects, you may have noticed how when aiming with a Sniper, the objects sometimes obstruct your view. With this include, aiming with a Sniper, Rocket Launcher, Heat Seeker, or Camera will now remove temporary attached objects and restore them after you stop aiming. It will be noticeable by all players when your attached objects are removed. This feature is optional, and if you want you can disable it entirely with this function: PHP код:
PHP код:
|