sscanf question
#1

Hello , what's the difference between this
pawn Код:
if(sscanf(params,"s",message))
and this
pawn Код:
if(sscanf(params,"s[100]",message))
Reply
#2

it's just that in the newest version you should use
pawn Код:
if(sscanf(params,"s[100]",message))
becuse then you could check that the param that the player sets into the command is the number of characters you like(if you don't use it you'll get error messages in your scrip)

Hope i helped

This forum requires that you wait 120 seconds between posts. Please try again in 7 seconds. ;(
Reply
#3

Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)