mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-27 06:08:03 +03:00
Added pev_ideal_yaw
This commit is contained in:
parent
d72b8de045
commit
2573c9c4d2
@ -176,6 +176,9 @@ static cell AMX_NATIVE_CALL amx_pev(AMX *amx,cell *params)
|
|||||||
case idealpitch:
|
case idealpitch:
|
||||||
fReturn = pPlayer->v.idealpitch;
|
fReturn = pPlayer->v.idealpitch;
|
||||||
break;
|
break;
|
||||||
|
case ideal_yaw:
|
||||||
|
fReturn = pPlayer->v.ideal_yaw;
|
||||||
|
break;
|
||||||
case pitch_speed:
|
case pitch_speed:
|
||||||
fReturn = pPlayer->v.pitch_speed;
|
fReturn = pPlayer->v.pitch_speed;
|
||||||
break;
|
break;
|
||||||
@ -764,6 +767,8 @@ static cell AMX_NATIVE_CALL amx_set_pev(AMX *amx, cell *params)
|
|||||||
case idealpitch:
|
case idealpitch:
|
||||||
pPlayer->v.idealpitch = fValue;
|
pPlayer->v.idealpitch = fValue;
|
||||||
return 1;
|
return 1;
|
||||||
|
case ideal_yaw:
|
||||||
|
pPlayer->v.ideal_yaw = fValue;
|
||||||
case pitch_speed:
|
case pitch_speed:
|
||||||
pPlayer->v.pitch_speed = fValue;
|
pPlayer->v.pitch_speed = fValue;
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -43,6 +43,7 @@ enum pev_pointers
|
|||||||
impacttime,
|
impacttime,
|
||||||
starttime,
|
starttime,
|
||||||
idealpitch,
|
idealpitch,
|
||||||
|
ideal_yaw,
|
||||||
pitch_speed,
|
pitch_speed,
|
||||||
yaw_speed,
|
yaw_speed,
|
||||||
ltime,
|
ltime,
|
||||||
|
@ -184,6 +184,7 @@ enum {
|
|||||||
pev_impacttime,
|
pev_impacttime,
|
||||||
pev_starttime,
|
pev_starttime,
|
||||||
pev_idealpitch,
|
pev_idealpitch,
|
||||||
|
pev_ideal_yaw,
|
||||||
pev_pitch_speed,
|
pev_pitch_speed,
|
||||||
pev_yaw_speed,
|
pev_yaw_speed,
|
||||||
pev_ltime,
|
pev_ltime,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user