#1

Hello, im have problem with ZCMD When i add a zcmd command anywhere, i get this warning:

<...> Symbol is never used that: <cmd name>

Ex:

Quote:

COMMAND:achat(playerid, params[])
{
new
Stringas[88],
Vardas[MAX_PLAYER_NAME],
Zinute[41];
GetPlayerName(playerid, Vardas, MAX_PLAYER_NAME);
if(strlen(Zinute) > 40) return SendClientMessage(playerid, COLOR,"Ћinutė negali būti ilgesnė kaip 40simbolių.");
if(sscanf(params, "z", Zinute)) return SendClientMessage(playerid, COLOR,"Naudojimas: /achat <Tekstas>");
format(Stringas,sizeof(Stringas),"Administracijos narys %s praneљa: %s",Vardas, Zinute);
PatikrintiVisusZaidejus(ID)
{
if(playerDB[ID][admin])
{
SendClientMessage(ID, COLOR, Stringas);
}
}
}

Please help,

Thanks.
Reply
#2

Can you tell us what are you trying to do?
Reply
#3

Might help if you added
pawn Код:
return 1;
to the bottom/end of your Command.

Also for better typing speed you can replace
pawn Код:
COMMAND:
with
pawn Код:
CMD:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)