Raised This Month: $ Target: $400
 0% 

CurWeapon Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 04-19-2017 , 08:38   Re: CurWeapon Problem
Reply With Quote #1

Use Ham_Item_Deploy to change models.
__________________
edon1337 is offline
Str4x3D1x
Member
Join Date: Feb 2014
Old 04-19-2017 , 08:44   Re: CurWeapon Problem
Reply With Quote #2

Ah..you got me.
Now i have no idea what is that for, i am trying to find that function in amxmodx api but looks harder than i thought...Help ?

EDIT: I don't think you understood. I can change model, but models go back to default after spawn or map change.

Last edited by Str4x3D1x; 04-19-2017 at 08:56.
Str4x3D1x is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 04-20-2017 , 06:22   Re: CurWeapon Problem
Reply With Quote #3

Quote:
Originally Posted by Str4x3D1x View Post
Ah..you got me.
Now i have no idea what is that for, i am trying to find that function in amxmodx api but looks harder than i thought...Help ?

EDIT: I don't think you understood. I can change model, but models go back to default after spawn or map change.
Ham_Item_Deploy is part of the Hamsandwich module. It won't fix your problem but it's better using Ham_Item_Deploy rather than CurWeapon because CurWeapon gets called a lot of times and it's not needed.
__________________
edon1337 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 17:51.


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