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

Why not get butterfly knife by GivePlayerItem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zzhlmy
Junior Member
Join Date: Jan 2019
Old 05-05-2019 , 14:23   Why not get butterfly knife by GivePlayerItem
Reply With Quote #1

Hello guys,

I want to get some knives in my server , but this code which GivePlayerItem didn't work , what should I do to get it working?
zzhlmy is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-05-2019 , 19:10   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #2

Where is "this code"?
__________________
Neuro Toxin is offline
zzhlmy
Junior Member
Join Date: Jan 2019
Old 05-05-2019 , 23:53   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #3

Quote:
Originally Posted by Neuro Toxin View Post
Where is "this code"?
GivePlayerItem(client, "weapon_knife_butterfly")
zzhlmy is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-06-2019 , 00:01   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #4

Which knife do they get?
__________________
Neuro Toxin is offline
quasemago
Senior Member
Join Date: Dec 2018
Location: Brazil
Old 05-06-2019 , 03:15   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #5

You will not be able to give the butterfly due to the CSGO Guidelines.

Edit your core.cfg and change "FollowCSGOServerGuidelines" to "no".
Code:
	/**
	 * Per "http://blog.counter-strike.net/index.php/server_guidelines/", certain plugin
	 * functionality will trigger all of the game server owner's Game Server Login Tokens
	 * (GSLTs) to get banned when executed on a Counter-Strike: Global Offensive game server.
	 *
	 * Enabling this option will block plugins from using functionality that is known to cause this.
	 * This option only has any effect on CS:GO. Note that this does NOT guarantee that you cannot
	 * receive a ban.
	 *
	 * Disable this option at your own risk.
	 */
	"FollowCSGOServerGuidelines"	"no"
But be aware that this can lead to banning your token.
Src: https://github.com/alliedmodders/sou...tives.cpp#L148
quasemago is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 05-06-2019 , 03:45   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #6

Try
PHP Code:
int knife GivePlayerItem(client"weapon_knife_butterfly");
EquipPlayerWeapon(clientknife); 
__________________
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
zzhlmy
Junior Member
Join Date: Jan 2019
Old 05-06-2019 , 06:19   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #7

Quote:
Originally Posted by Neuro Toxin View Post
Which knife do they get?
We didn't get any knives
zzhlmy is offline
zzhlmy
Junior Member
Join Date: Jan 2019
Old 05-06-2019 , 06:20   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #8

Quote:
Originally Posted by quasemago View Post
You will not be able to give the butterfly due to the CSGO Guidelines.

Edit your core.cfg and change "FollowCSGOServerGuidelines" to "no".
Code:
	/**
	 * Per "http://blog.counter-strike.net/index.php/server_guidelines/", certain plugin
	 * functionality will trigger all of the game server owner's Game Server Login Tokens
	 * (GSLTs) to get banned when executed on a Counter-Strike: Global Offensive game server.
	 *
	 * Enabling this option will block plugins from using functionality that is known to cause this.
	 * This option only has any effect on CS:GO. Note that this does NOT guarantee that you cannot
	 * receive a ban.
	 *
	 * Disable this option at your own risk.
	 */
	"FollowCSGOServerGuidelines"	"no"
But be aware that this can lead to banning your token.
Src: https://github.com/alliedmodders/sou...tives.cpp#L148
Thanks for your reply , I'll pay attention it
zzhlmy is offline
zzhlmy
Junior Member
Join Date: Jan 2019
Old 05-06-2019 , 06:22   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #9

Quote:
Originally Posted by Franc1sco View Post
Try
PHP Code:
int knife GivePlayerItem(client"weapon_knife_butterfly");
EquipPlayerWeapon(clientknife); 
Thanks for your reply , I have try it once and once again , unfortunatly , it didn't work
zzhlmy is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 05-06-2019 , 08:26   Re: Why not get butterfly knife by GivePlayerItem
Reply With Quote #10

Quote:
Originally Posted by zzhlmy View Post
Thanks for your reply , I have try it once and once again , unfortunatly , it didn't work
Check log errors, it should works.
__________________
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 13:30.


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