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

If i do not compile the file .amx, the gamemode works ... if I compile, it gives me warning.
Why? o:
Reply
#2

I think I can guess what the problem is without having a look at your code.
Show us the damn code!
EDIT: A second late
Reply
#3

Warning are many, 135.
http://pastebin.com/gstQiz0i
Reply
#4

Post your Code And Warnings Here
so we can See What the Problem is
Reply
#5

It's most likely "Loose Indetation" which means your code is a damn mess. If it nags you use #pragma tabsize 0
Reply
#6

Quote:
Originally Posted by IceCube!
Посмотреть сообщение
It's most likely "Loose Indetation" which means your code is a damn mess. If it nags you use #pragma tabsize 0
or just create your own mode instead of someone elses and indent properly
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)