Quote:
Originally Posted by PabloDiCostanzo
I`ll give you my command
pawn Код:
dcmd_announce(playerid,params[]) { if(AccInfo[playerid][Level] >= 3 || IsPlayerAdmin(playerid)) { if(!strlen(params)) return SendClientMessage(playerid, grey, "USAGE: /announce [Text]") && SendClientMessage(playerid, orange, "ATENTION: Function will announce the specified message in screen"); SendCommandToAdmins(playerid,"Announce"); return GameTextForAll(params,4000,3); } else return ErrorMessages(playerid, 7); }
|
thx, but i get this warning, how to fix it ?
Код:
C:\Users\Marko\Desktop\trucking\filterscripts\announce.pwn(21) : warning 203: symbol is never used: "dcmd_announce"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.