Getting the amount of angles you turned.
#1

hey

i want to collect the amount of angles you turned if you press and hold your handbrake i got this already..

pawn Код:
if(PRESSING(newkeys, KEY_HANDBRAKE))
        {
          GetVehicleZAngle(currentveh, z_rot);
          format(kmteller, sizeof(kmteller),"Angle:%03f", z_rot);
        }
Reply
#2

Код:
GameTextForPlayer(playerid, kmteller, 5, 5000);
Or w.e. you wish.
Reply
#3

Quote:
Originally Posted by SpiderPork
Код:
GameTextForPlayer(playerid, kmteller, 5, 5000);
Or w.e. you wish.
-_- do you think that im a retard or something i need the amount of angles you turned when pressed handbreak like i go around the corner with ** degree angle and i want to collect that i now got the angle the vehicle is facing
Reply
#4

Quote:
Originally Posted by Pandabeer1337
hey

i want to collect the amount of angles you turned if you press and hold your handbrake i got this already..

pawn Код:
if(PRESSING(newkeys, KEY_HANDBRAKE))
        {
          GetVehicleZAngle(currentveh, z_rot);
          format(kmteller, sizeof(kmteller),"Angle:%03f", z_rot);
        }
tip: you shouldnt use keystatechange(if youre no already do)
but use a timer and use GetPlayerKeys
if you wanted to hold
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)