Cod2 bzmod function

jose100

New Member
Messages
1
Points
1
Hello,

the thing is I have 13 keys of the same name "node" and I would like to change them for example on "richard" by using getentarray.

{
"origin" "1648 16 -272"
"targetname" "node"
"classname" "script_origin"
}

I did this but it seemed to be not correct

main()
{
maps\mp\_load::main();
richards = (getentarray("richard","targetname") [12]);
}
With "node" is always working, but with "richard" never. What could I try?
 
Top