Quote:
Originally Posted by MrPickles
You can hook player spawn or round start, then u can save the string with that function, but with the global variable
PHP Code:
new __str_Model[33][33]; // global
public plugin_init() { RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1) } public fwHamPlayerSpawnPost(id) { get_user_info(id, "model", __str_Model[id], 32 ); }
|
I think what he mean is he want to hook the moment the model changed.
For example, when your character class change in middle of the round, you can't update the array by anymean, except by using native (if the model change is from other plugins)
__________________