Quote:
Originally Posted by NeXoR
PHP код:
if(sscanf(params,"[COLOR="Red"]ds[/COLOR]",id,reason)) return SendClientMessage(playerid,colorexit," /ban <playerid> <reason>");
You need to define U instead of D (D is a number, U is a userid) and define S length
Try it:
PHP код:
if(sscanf(params,"us[80]",id,reason)) return SendClientMessage(playerid,colorexit," /ban <playerid> <reason>");
|
d, u, and i can be used for the user id.