Symbol never used?
#1

PHP код:
#include <a_samp>
#include <ZCMD>
#if defined FILTERSCRIPT
#endif
enum fInfo{
    
SFCS,
    
SFCMS
}
new 
PlayerInfo[MAX_PLAYERS][fInfo];
stock SendFactionMessage(color, const string[])
{
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
PlayerInfo[i][SFCS] == 1)
            {
                
SendClientMessage(icolorstring);
            }
        }
    }
    return 
1;
}
CDM:f(playerid,params[])
{
    if(
PlayerInfo[playerid][SFCS] == || PlayerInfo[playerid][SFCMS] == 1)
    {
        if(!
strlen(params)) return SendClientMessage(playerid,COLOR_ERROR,"Usage: /f [Message]");
        new 
string[128];
        
format(string,sizeof(string), "[Faction Chat] %s(%d): %s",pname(playerid), playeridparams);
        
SendFactionMessage(-1string);
        return 
1;
    }
    else
    
SendClientMessage(playerid,-1,"ERROR: You are not in a faction!");

PHP код:
C:\Users\TaLhA XIV\Desktop\Pawno scripter\filterscripts\factionchat.pwn(43) : warning 203symbol is never used"f"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
1 Warning

I don't know what is happening please help.
Reply


Messages In This Thread
Symbol never used? - by TaLhA XIV - 24.08.2012, 22:39
Re: Symbol never used? - by CoDeZ - 24.08.2012, 22:44
Re: Symbol never used? - by TaLhA XIV - 24.08.2012, 22:46
Re: Symbol never used? - by leonardo1434 - 24.08.2012, 22:47
Re: Symbol never used? - by CoDeZ - 24.08.2012, 22:48
Re: Symbol never used? - by DonWade - 24.08.2012, 22:55
Re: Symbol never used? - by TaLhA XIV - 24.08.2012, 22:55

Forum Jump:


Users browsing this thread: 5 Guest(s)