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:
|
||||
fReturn = pPlayer->v.idealpitch;
|
||||
break;
|
||||
case ideal_yaw:
|
||||
fReturn = pPlayer->v.ideal_yaw;
|
||||
break;
|
||||
case pitch_speed:
|
||||
fReturn = pPlayer->v.pitch_speed;
|
||||
break;
|
||||
@ -764,6 +767,8 @@ static cell AMX_NATIVE_CALL amx_set_pev(AMX *amx, cell *params)
|
||||
case idealpitch:
|
||||
pPlayer->v.idealpitch = fValue;
|
||||
return 1;
|
||||
case ideal_yaw:
|
||||
pPlayer->v.ideal_yaw = fValue;
|
||||
case pitch_speed:
|
||||
pPlayer->v.pitch_speed = fValue;
|
||||
return 1;
|
||||
|
@ -43,6 +43,7 @@ enum pev_pointers
|
||||
impacttime,
|
||||
starttime,
|
||||
idealpitch,
|
||||
ideal_yaw,
|
||||
pitch_speed,
|
||||
yaw_speed,
|
||||
ltime,
|
||||
|
@ -184,6 +184,7 @@ enum {
|
||||
pev_impacttime,
|
||||
pev_starttime,
|
||||
pev_idealpitch,
|
||||
pev_ideal_yaw,
|
||||
pev_pitch_speed,
|
||||
pev_yaw_speed,
|
||||
pev_ltime,
|
||||
|
Loading…
Reference in New Issue
Block a user