I have a line of c++ code that I have been trying to convert to AMXX [pawn] (its from a large metamod plugin, im converting)
anyways.. the line is
PHP Code:
if(pEntity->v.velocity.Length() > 0 || pEntity->v.maxspeed <= 1 || pEntity->v.deadflag != DEAD_NO)
I know how to modify everything except for velocity.Length(), I do not know what I should use for this (the entity is a player) I have seen a few things regarding length, but still, I dont know exactly what to use.
Thanks for considering to help me
__________________