10.01.2012, 12:38
This should work.
pawn Код:
COMMAND:giveuser(playerid, params[])
{
new id;
if (!sscanf(params, "u", id)) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /giveuser [id]");
else
{
new string[128];
format(string, 128, "%d", id);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, 128, "%s", id);
SendClientMessage(playerid, COLOR_WHITE, string);
return 1;
}
}