22.07.2012, 10:25
Will this work ?
pawn Код:
dcmd_secret(playerid, params[])
{
new result;
if(sscanf(params, "d", result)) return SendClientMessage(playerid, COLOR_GRAD2, "...");
if(!strcmp(params,"..",true) == 0 && IsPlayerInRangeOfPoint(playerid, 5.0, ...))
{
...
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "Wrong password.");
return 1;
}
return 1;
}