View Single Post
Old 19/04/2020, 09:03 AM   #174
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,228
Reputation: 205
Default Re: sscanf - Now supports npcmodes

Quote:
Originally Posted by Mike861 View Post
C:\Users\MIHAJLO\Desktop\samp037_svr_R2-2-1_win32\pawno\include\sscanf2.inc(258 ) : warning 202: number of arguments does not match definition
C:\Users\MIHAJLO\Desktop\samp037_svr_R2-2-1_win32\pawno\include\sscanf2.inc(271) : error 025: function heading differs from prototype

I'm not sure what's the problem
Find and replace
pawn Code:
public OnPlayerDisconnect(playerid)
with
pawn Code:
public OnPlayerDisconnect(playerid, reason)
in your script or in some include that has the mistake.
__________________
Calisthenics is offline   Reply With Quote