Raised This Month: $ Target: $400
 0% 

[Solved] Knife view model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-10-2015 , 13:10   Re: [Help] Knife view model
Reply With Quote #2

You should be using Deploy, not CurWeapon. Deploy is the right place to put your code, you will set exactly after the game.

Now, I think that the problem is that you are using pev_viewmodel. When using pev_viewmodel you have to allocate the string. If you don't want to allocate(EngFunc_AllocString) manually, you can use pev_viewmodel2. If you choose to allocate be sure to do only one time in a place like init and save the value.
__________________
HamletEagle 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 22:05.


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