Limit a player to a certain amount of characters when using a command[+REP]
#3

Код:
if(sscanf(params, "s[15]S[15]S[128]", tmp, tmp2, tmp3))
Also z is depreciated so just use a capital S for optional strings.

EDIT: Whoops I think I may of read the post wrong also, but my point of using S for optional still stands at least
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)