I've got a Problem with my Shopmenu Plugin.
In the Plugin you can buy Gravity per Menu that lasts for X time.
What i want to do is now in the time the Player got the Gravity his Playermodel will be changed to another one.
My Problem is now (im not good in doing Plugins

) :
I tried it with:
entity_set_string(id, EV_SZ_viewmodel, "models/hat/angel2.mdl");
entity_set_string(id, EV_SZ_weaponmodel, "models/hat/angel2.mdl");
and the model will be changed when i buy the Gravity now, but it will be changed also when i change the Weapon. I also dont know the function to change the Playermodel to the Standart.
Hope you can help me Guys, i've used the Search-Function so many times and i dont know how to do this.
Thank you.
----
pedobear