04.08.2016, 23:08
Actually sscanf is not necessary when the parameter is a single string. You can use:
and you just use "params" instead of "action".
Another thing to note is the foreach syntax you are using is deprecated. Use:
pawn Код:
if (!isnull(params)) return UsageMSG(playerid, "/do [action]");
Another thing to note is the foreach syntax you are using is deprecated. Use:
pawn Код:
foreach(new i : Player)