Is there any way to clone methodmaps?
Lets say I have array where holding default data in methodmaps and so on:
Quote:
ZombieClass g_Zombies[MAX_CLASS];
ZombieClass Zombie = ZombieClass();
Zombie.HP = 100;
Zombie.Speed = 1.0
g_Zombies[id] = Zombie;
|
Now I want to that only 1 player, just say VIP, have more HP, Speed. trying like this:
Quote:
ZombieClass g_Player[MAXPLAYERS +1];
Player[client] = g_Zombies[id];
Player[client].HP = 150;
|
How I understand in this way, it will change main Zombie methods properties, but how to change only for this person methodmap properties? How I understand, need to clone methodmap or what?