If I compile the .amx file, it gives me warning.
#7

PHP код:
public ycmd_toll(playeridcmdtext[]) // warning 235: public function lacks forward declaration (symbol "ycmd_toll")
{
    
#if TollFS == 0
        
if(cmdtext[0] == 1cmdtext[0] = 0;
        if(!
gPlayerLogged[playerid])
        {
            
SendClientMessage(playeridCOLOR_WHITE"You are not logged in.");
            return 
1;
        }
    
#endif
    
new idx,
        
L_sz_Input[256],
        
L_sz_CopName[MAX_PLAYER_NAME],
        
L_sz_MessageString[256],
        
L_sz_Rank[56], // warning 204: symbol is assigned a value that is never used: "L_sz_Rank"
        
L_sz_Faction[8]; // warning 204: symbol is assigned a value that is never used: "L_sz_Faction"
    #if TollFS == 0 
Quote:
Originally Posted by [ABK]Antonio
Посмотреть сообщение
or just create your own mode instead of someone elses and indent properly
I simply want to understand how to solve these warning, wtf.
I am a beginner with pawno.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)