Raised This Month: $51 Target: $400
 12% 

my plugin crash after game running


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gian_Yagami
Member
Join Date: Apr 2014
Old 07-20-2015 , 02:35   my plugin crash after game running
Reply With Quote #1

I am interesting to find out how submodel in view models work. I learn it from nst plugin but my plugin didn't work. the game freeze after loading completed, just stuck in motd. After that I tried to run the game with maxplayers 1 so the player don't have any weapon. The game works fine and my plugin is running, but still freeze when player take weapon on the ground. It's included sound replace too but nothing wrong about it I guess. Because sounds work fine before I added weapon script. Please find what's wrong in my code
Attached Files
File Type: zip emit_sound.zip (510.2 KB, 35 views)
Gian_Yagami is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-20-2015 , 21:41   Re: my plugin crash after game running
Reply With Quote #2

please post the sma instead of zip
Depresie is offline
Gian_Yagami
Member
Join Date: Apr 2014
Old 07-21-2015 , 06:54   Re: my plugin crash after game running
Reply With Quote #3

Quote:
Originally Posted by Depresie View Post
please post the sma instead of zip
I upload it as zip because that required specific view model. Here's my code
Spoiler

Last edited by Gian_Yagami; 07-21-2015 at 06:55. Reason: Wrong code, lol
Gian_Yagami is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 07-22-2015 , 02:02   Re: my plugin crash after game running
Reply With Quote #4

Try:

PHP Code:
    message_begin(MSG_ONE_UNRELIABLESVC_WEAPONANIM_iIndex);
    
write_byte(iAnim);
    
write_byte(iHand);
    
message_end(); 
__________________
What are you looking for here?
DavidJr is offline
Gian_Yagami
Member
Join Date: Apr 2014
Old 07-22-2015 , 08:37   Re: my plugin crash after game running
Reply With Quote #5

now It's work with amx from nst plugins. Maybe incorrect configuration. Thank you very much for replied.
Gian_Yagami is offline
Reply



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 23:39.


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