Raised This Month: $ Target: $400
 0% 

Solved [CSGO] 50~100 USD Looking for Remove Weapon's sticker Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-10-2021 , 17:25   Re: [CSGO] 50~100 USD Looking for Remove Weapon's sticker Plugin
Reply With Quote #1

Quote:
Originally Posted by Franc1sco View Post
You want to force vanilla weapons? I think that is simple like this:
PHP Code:
#include <PTaH>

public void OnPluginStart()
{
    
PTaH(PTaH_GiveNamedItemPreHookGiveNamedItemPre);
}

public 
Action GiveNamedItemPre(int clientchar classname[64], CEconItemView &itembool &ignoredCEconItemView)
{
    
ignoredCEconItemView true;
    return 
Plugin_Changed;

Requires PTaH.

Or you can contact with me and we could see it, i dont need money.
Updated version for the latest PTaH (someone requested me that):

PHP Code:
#include <PTaH>

public void OnPluginStart()
{
    
PTaH(PTaH_GiveNamedItemPreHookGiveNamedItemPre);
}

public 
Action GiveNamedItemPre(int iClientchar sClassname[64], CEconItemView &Itembool &IgnoredCEconItemViewbool &OriginIsNULLfloat Origin[3])
{
    
IgnoredCEconItemView true;
    return 
Plugin_Changed;

Attached Files
File Type: smx force_vanillaweapons.smx (2.8 KB, 65 views)
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
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 04:42.


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