30.08.2009, 09:56
Hello guys Im trying to make a firefighter job and synchronize it with some objects angle,in my include folder I added this
GetObjectAngle(objectid,&angle);
and i tried this
Till here,I want to get some specific objects id's the possition and make a map icon on the player at the specific object which is selected randomly..
so i want to do
synchronize players angle with objects angle so I can know where is the player watering at..is this possible ?
GetObjectAngle(objectid,&angle);
and i tried this
Код:
if((newkeys & (KEY_FIRE))) { if(IsPlayerInVehicle(playerid,12345) && job=7 && PlayerToPoint(playerid,) { new Float:Angle; new PlayerAngle = GetPlayerFacingAngle(playerid,angle) new ObjectAngle = GetObjectAngle(objectid,angle); if(PlayerAngle == ObjectAngle) {
so i want to do
synchronize players angle with objects angle so I can know where is the player watering at..is this possible ?