Hi.. I need a way to ref to like 5 set of origins that have 3 values... Like:
PHP Code:
new Float:ent_origins[5][3] = { { -258.0,1789.0,190.0 },{ 300.0,1015.0,190.0 },{ 45.0,897.0,199.0 },
{ 910.0,-237.0,145.0 },{ 284.0,-324.0,140.0 } }
But how do i ref those to a function? Normally i would do like this with a single origin:
PHP Code:
public SetModel()
{
new Float:origin[3]
origin[0] = 258.0
origin[1] = 1789.0
origin[2] = 190.0
set_pev(ent, pev_origin, origin)
}
But how do i ref. the 5 origins above?
Thanks in advance
__________________