Little help on ban and kick command with sscanf
#3

You use s specifier for strings.

Example:
pawn Код:
new id, reason[128];
if(sscanf(params,"us[128]", id, reason)) return SendClientMessage(playerid,-1,"Use: /ban <id> <reason>");
Is this what you want?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)