Warning sscanf
#1

I got an error in my code and said this

sscanf warning: Strings without a length are deprecated, please add a destination size.

Heree is my sscanf line

Код:
sscanf(line, "p<.>issiiiiiiiifffiii", pinfo[playerid][id], pinfo[playerid][nombre], pinfo[playerid][pass], pinfo[playerid][nivel], pinfo[playerid][dinero], pinfo[playerid][trabajo], pinfo[playerid][admin], pinfo[playerid][online], pinfo[playerid][phone], pinfo[playerid][banco], pinfo[playerid][skin], pinfo[playerid][px], pinfo[playerid][py], pinfo[playerid][pz], pinfo[playerid][hp], pinfo[playerid][armor], pinfo[playerid][sp]);
I dont know how to fix that error can help me? please, thx
Reply
#2

related: http://forum.sa-mp.com/index.php?topic=148659.0
Reply
#3

Quote:
Originally Posted by mansonh
that topic is another question.... the code works there but giveee me that error so i am asking that eerros here :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)