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

Warden.sp MyJailbreak


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
consti
Junior Member
Join Date: Feb 2020
Old 02-08-2020 , 18:49   Warden.sp MyJailbreak
Reply With Quote #1

So I tried to compile warden.sp and this error appears: C:\steamcmd\csgo-ds\csgo\addons\sourcemod\scripting\warden.sp( 1302) : error 180: function return type differs from prototype. expected 'int', but got 'void
Click image for larger version

Name:	Captura.PNG
Views:	138
Size:	13.8 KB
ID:	179715

Last edited by consti; 02-08-2020 at 18:50.
consti is offline
Send a message via ICQ to consti Send a message via AIM to consti
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-09-2020 , 08:23   Re: Warden.sp MyJailbreak
Reply With Quote #2

I dont have the .sp file but this is usually because the code is not returning and int value.

maybe it is like this

PHP Code:
void Somefunction(<parameters>)
{
...
return;

So you have to change it to something like this:

PHP Code:
int Somefunction(<parameters>)
{
...
return 
0//should return some value inside the snippet

__________________

Last edited by Marttt; 02-09-2020 at 08:23.
Marttt is offline
azalty
AlliedModders Donor
Join Date: Feb 2020
Location: France
Old 02-14-2021 , 15:32   Re: Warden.sp MyJailbreak
Reply With Quote #3

Hi, please make sure you have the latest warden.sp from the dev branch as well as the latest includes and warden modules
__________________
GitHub | Discord: @azalty | Steam

Last edited by azalty; 02-14-2021 at 15:33.
azalty 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 02:50.


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