Raised This Month: $ Target: $400
 0% 

Skin Gun Bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Ogy1331
Junior Member
Join Date: Jun 2019
Old 06-18-2021 , 05:16   Re: Skin Gun Bug
Reply With Quote #3

Quote:
Originally Posted by Celena Luna View Post
PHP Code:
if(equal(className"weaponbox") || equal(className"armoury_entity") || equal(className"grenade")) 
Wait... AK is a grenade?
Anyway, I want to help but can't right now so I just leave this if someone have time to do it or the OP do it himself/herself.



1. Set a var/bitvar at Event_CurWeapon to check if player currently holding the VIP AK when he got it.

2. At fw_SetModel, set an UniqueID to the AK (usually people save it in pev_impulse) and remove the var/bitvar above to notice that player no long have VIP AK

3. Force drop the VIP AK before getting the Paladin

4. Use Ham_Item_AddToPlayer to get the UniqueID to check it is the VIP AK, if yes, set the var/bitvar at #1 to make player have VIP AK again.



At the Ham_Item_AddToPlayer, check player Admin Flag there, if it is not VIP then don't set var/bitvar.


Can you rewrite those lines that need edit for me,becuase Im not familiar with pawn language.thank you very much
Ogy1331 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 19:56.


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