Well, i was trying so hard to reuse all the code that i didnt saw that. This function had been used for entities and pointers and now, with a vector of course it will not work such way.. in c-script.
Now it works like a charm, thank you RedPhoenix for pointing that.
BTW, if you have an idea about the last question just tell me.
Thanks.