ZCMD.
#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


Messages In This Thread
ZCMD. - by Gh0sT_ - 23.10.2010, 18:41
Re: ZCMD. - by Miguel - 24.10.2010, 01:46
Re: ZCMD. - by PixeledNinja - 24.10.2010, 03:16

Forum Jump:


Users browsing this thread: 3 Guest(s)