SSCANF ERROR
#1

pawn Код:
if (sscanf(params, "ss[20]u", cmd,name,id))return SendClientMessage(playerid, COLOR_RED, "USAGE: /ClanCreate [ClanName] [Leader]");
In dos

pawn Код:
sscanf warning: Strings without a length are deprecated, please add a destination size
Help Please =]
Reply
#2

pawn Код:
if(sscanf(params, "s[20]u", name, id)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /ClanCreate [ClanName] [Leader]");
What the cmd was supposed to do?
Reply
#3

Yes, here the full code
http://pastebin.com/VWa0GWe4
Reply
#4

I mean the cmd in the sscanf check
Reply
#5

Not use u without [size]: uui, use u[20] etc.
Reply
#6

Working =]
thx
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)