Raised This Month: $ Target: $400
 0% 

Modelchange for X-Time.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pedobear
Junior Member
Join Date: May 2009
Old 05-10-2009 , 11:54   Modelchange for X-Time.
Reply With Quote #1

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
pedobear is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode