There are Float, Int, Vec and Sz PEVs, therefore you cant just do
Code:
pev( id, i, sz, 31 );
or
for all of them.
For example 1st is a string:
Code:
pev( id, 1, sz, 31 ) // classname
#17 is an integer:
Code:
x = pev( id, 17 ) // aiment
#41 is a float:
Code:
pev( id, 41, f_by_ref ) // health
#118 is a vector:
Code:
pev( id, 118, Vec ) // origin