View Single Post
Author Message
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-13-2019 , 12:46   CSGO Items API - Compile Error 100: function prototypes do not match
Reply With Quote #1

I am using the CSGO Items API: https://forums.alliedmods.net/showthread.php?t=279187

But with the latest versions of PTaH it gives the following error:
Code:
L 11/13/2019 - 09:46:01: [SM] Exception reported: Invalid event PTaH_HookType specified
L 11/13/2019 - 09:46:01: [SM] Blaming: CSGO_Items.smx
L 11/13/2019 - 09:46:01: [SM] Call stack trace:
L 11/13/2019 - 09:46:01: [SM]   [0] PTaH
L 11/13/2019 - 09:46:01: [SM]   [1] Line 429, C:\Users\Michael\OneDrive\Documents\Development\PAWN\Projects\CSGO-Items\addons\sourcemod\scripting\CSGO_Items.sp::OnPluginStart
L 11/13/2019 - 09:46:01: [SM] Unable to load plugin "CSGO_Items.smx": Error detected in plugin startup (see error logs)
L 11/13/2019 - 09:46:05: [SM] Unable to load plugin "ItemLog.smx": Could not find required plugin "CSGO_Items"
I tried to make the modification myself in CSGO_Items to see if I could solve the problem, in case I changed the line that requested, but in time to compile again the following error:

Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// CSGO_Items.sp
//
// C:\Users\boy-l\Google Drive\ZK Servidores\Addons\Counter Strike Global Offensive\Editar Plugins\addons\sourcemod\scripting\CSGO_Items.sp(429) : error 100: function prototypes do not match
// C:\Users\boy-l\Google Drive\ZK Servidores\Addons\Counter Strike Global Offensive\Editar Plugins\addons\sourcemod\scripting\CSGO_Items.sp(501) : error 100: function prototypes do not match
//
// 2 Errors.
//
// Compilation Time: 0,41 sec
// ----------------------------------------

Press enter to exit ...
I would like to know how I can progress, fix with this to compile CSGO_Items.

Attached is the latest version of CSGO Items API & PTaH that I currently use:
Attachment 178230
Attachment 178231

Last edited by paulo_crash; 06-03-2020 at 13:38.
paulo_crash is offline