SSCANF weird behavior
#1

Fixed
Reply
#2

First of all, try updating your sscanf to the plugin version or fix the string specifier. It doesn't have a size put between [ and ].

Example:
sscanf(params, "us[128]", OtherPlayer, Reason)
Reply
#3

pawn Код:
if(sscanf(params, "us[64]", OtherPlayer, Reason)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /ban [playerid] [reason]");
Be sure that you updated to version 2.5:

https://sampforum.blast.hk/showthread.php?tid=120356
Reply
#4

Was indeed the problem of the wrong version of sscanf thanks guys!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)