25.05.2009, 13:56
or:
You'll need the DCMD define and SSCANF stock for this to work. They can both be found here
pawn Код:
dcmd_ggg(playerid, params[])
{
new id;
if (sscanf(params, "d", id)) SendClientMessage(playerid,color,"USAGE: /ggg [number]");
else SetPlayerSpecialAction(playerid,id);
return 1;
}