10.09.2012, 07:41
Hi!
Could you please add something like:
Thanks!!!
Could you please add something like:
PHP Code:
stock cvector_g_push_middle(vectorid, itemid, value)
{
cvector_g_remove_value(vectorid, value);
cvector_g_push_back(vectorid, -1);
for(new i=cvector_g_size(vectorid)-1; i>itemid; i--)
{
cvector_g_swap(vectorid, i, i-1);
}
cvector_g_set(vectorid, itemid, value);
}