Raised This Month: $32 Target: $400
 8% 

CS:GO GiveNamedItem Econ


Post New Thread Reply   
 
Thread Tools Display Modes
jgridlock
Junior Member
Join Date: Sep 2015
Old 10-19-2015 , 16:13   Re: CS:GO GiveNamedItem Econ
Reply With Quote #111

Quote:
Originally Posted by Sketchy View Post
I think the gamedata need updated again
I believe so as well. It is currently not working for me either.
jgridlock is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 10-20-2015 , 08:33   Re: CS:GO GiveNamedItem Econ
Reply With Quote #112

Updated the windows sig that broke.
Dr!fter is offline
Sketchy
Senior Member
Join Date: Nov 2010
Old 10-22-2015 , 14:06   Re: CS:GO GiveNamedItem Econ
Reply With Quote #113

Quote:
Originally Posted by Dr!fter View Post
Updated the windows sig that broke.
ty
Sketchy is offline
ssphreak
Senior Member
Join Date: Aug 2009
Old 10-23-2015 , 13:19   Re: CS:GO GiveNamedItem Econ
Reply With Quote #114

Hello - I run a csgo gungame server, and this sounds like what i have been looking for. My server uses every gun in the game. So here is my question, If somebody has the CZ in their loadout instead of the Tech 9, what gun will they get when they get to the Tech 9 level? - Will they get the tech 9 or will they get the CZ from their loadout? Same thing with the M4a1 and M4a1S - we use both of them, will they not get one or the other depending on their loadout?

Thank you in advance.!
ssphreak is offline
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 11-11-2015 , 14:00   Re: CS:GO GiveNamedItem Econ
Reply With Quote #115

Hi there, could you create a native so we can get the skin from the m_iItemDefinitionIndex

example: int iSkin = gni_getskinidfromindex(54);

This would be a lot of help, thanks.

Last edited by SM9; 11-11-2015 at 14:00.
SM9 is offline
SHAREN
Senior Member
Join Date: Dec 2011
Old 12-10-2015 , 07:54   Re: CS:GO GiveNamedItem Econ
Reply With Quote #116

how to do that when the player is given a deagle, then he was not given a revolver?

For example
Code:
public Action:GNIEcon_OnGiveNamedItem(client, iDefIndex, iTeam, iLoadoutSlot, const String:szItem[]);
{
if (iDefIndex == 231) return Plugin_Handled;
else return Plugin_Continue;
}

Last edited by SHAREN; 12-10-2015 at 12:01.
SHAREN is offline
Send a message via Skype™ to SHAREN
SHAREN
Senior Member
Join Date: Dec 2011
Old 01-22-2016 , 09:15   Re: CS:GO GiveNamedItem Econ
Reply With Quote #117

Don't compiling, please help

HTML Code:
#include <gniecon>
public Action:GNIEcon_OnGiveNamedItem(client, iDefIndex, iTeam, iLoadoutSlot, const String:szItem[])
{
	if (IsClientInGame(client) && GetClientTeam(client) == 2 && StrEqual(szItem, "weapon_knife"))
	{
		Format(szItem, 17, "weapon_knife_t")		//GiveCheck.sp(6) : error 035: argument type mismatch (argument 1)
		iDefIndex = 59
		iLoadoutSlot = 0
		return Plugin_Continue
	}
	return Plugin_Continue
}
Code:
SourcePawn Compiler 1.7.3-dev+5255
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

GiveCheck.sp(6) : error 035: argument type mismatch (argument 1)

1 Error.
SHAREN is offline
Send a message via Skype™ to SHAREN
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 01-22-2016 , 11:32   Re: CS:GO GiveNamedItem Econ
Reply With Quote #118

szItem is const. That forward is only to block giving items, not to change it.
__________________
Peace-Maker is offline
Kilroy85
Junior Member
Join Date: May 2016
Old 05-26-2016 , 12:59   Re: CS:GO GiveNamedItem Econ
Reply With Quote #119

Getting an error in my console logs.

[SM] Unable to load extension "csgo_gni_econ.ext": Failed to get HandleCommand_Buy_Internal address

Any ideas?
Kilroy85 is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 06-12-2016 , 23:55   Re: CS:GO GiveNamedItem Econ
Reply With Quote #120

I'm also getting that error with the latest version:

[SM] Unable to load extension "csgo_gni_econ.ext": Failed to get HandleCommand_Buy_Internal address
Addicted. 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 20:14.


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