AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved CSGO Items API - Compile Error 100: function prototypes do not match (https://forums.alliedmods.net/showthread.php?t=319661)

paulo_crash 11-13-2019 12:46

CSGO Items API - Compile Error 100: function prototypes do not match
 
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

8guawong 11-15-2019 02:58

Re: CSGO Items API - Compile Error 100: function prototypes do not match
 
nvm someone already answered your questions

here https://forums.alliedmods.net/showpo...2&postcount=51

and

here https://forums.alliedmods.net/showpo...9&postcount=53

paulo_crash 11-15-2019 09:39

Re: CSGO Items API - Compile Error 100: function prototypes do not match
 
Quote:

Originally Posted by 8guawong (Post 2672990)

Yes thanks.

I'll be marking as resolved and seeing over there, thanks.

[EDIT]
CSGO Items API Compiled - SourceMod v1.10 & PTaH v1.1.1: https://forums.alliedmods.net/showpo...9&postcount=54


All times are GMT -4. The time now is 21:34.

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