SA-MP Forums Archive
Annoy warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Annoy warnings (/showthread.php?tid=251711)



Annoy warnings - MrND - 28.04.2011

Quote:

C:\Documents and Settings\Andy.ADMIN\Desktop\samp03csvr_R2-2_win32\gamemodes\tup.pwn(10923) : warning 217: loose indentation
C:\Documents and Settings\Andy.ADMIN\Desktop\samp03csvr_R2-2_win32\gamemodes\tup.pwn(10941) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

pawn Код:
if(dialogid == 985) // 10923 line
    {
    if(!response)
    {
    SendClientMessage(playerid,0xFF0000AA,"You need to finish this!");
    ShowPlayerDialog(playerid, 987, DIALOG_STYLE_LIST, "What is your favourite GM?", "\nDrifting/Stunting/Racing with vehicles...\nSemi Roleplay/Roleplay\nDeathmatch/TeamDeathmatch/Decostruction Derby\nFreeoram", "Select","");
    return 1;
    }
}
       if(dialogid == 984)
    {
    if(!response)
    {
    SendClientMessage(playerid,0xFF0000AA,"You must finish this!");
    ShowPlayerDialog(playerid, 987, DIALOG_STYLE_LIST, "What is your favourite GM?", "\nDrifting/Stunting/Racing with vehicles...\nSemi Roleplay/Roleplay\nDeathmatch/TeamDeathmatch/Decostruction Derby\nFreeoram", "Select","");
    return 1;
    }
}
        if(dialogid == 983) // 10941
    {
    if(response)
    {



Re: Annoy warnings - Haydz - 28.04.2011

Post your code in here http://dracoblue.net/tidy/pawn/ after awhile you will learn to indent your code as you go , but this should help you in the mean time! goodluck.


Re: Annoy warnings - MrND - 28.04.2011

Damn it, I don't understand it, Output code couldn't compile. It crashed my gamemode. What is here problem?


Re: Annoy warnings - xir - 28.04.2011

https://sampforum.blast.hk/showthread.php?tid=251335


Re: Annoy warnings - MrND - 28.04.2011

whops, suddenly I put it twice time, tidy is working, ty shame on me.


Re: Annoy warnings - Ricop522 - 28.04.2011

pawn Код:
if(dialogid == 985) // 10923 line
    {
        if(!response)
        {
            SendClientMessage(playerid,0xFF0000AA,"You need to finish this!");
            ShowPlayerDialog(playerid, 987, DIALOG_STYLE_LIST, "What is your favourite GM?", "\nDrifting/Stunting/Racing with vehicles...\nSemi Roleplay/Roleplay\nDeathmatch/TeamDeathmatch/Decostruction Derby\nFreeoram", "Select","");
            return 1;
        }
    }
    if(dialogid == 984)
    {
        if(!response)
        {
            SendClientMessage(playerid,0xFF0000AA,"You must finish this!");
            ShowPlayerDialog(playerid, 987, DIALOG_STYLE_LIST, "What is your favourite GM?", "\nDrifting/Stunting/Racing with vehicles...\nSemi Roleplay/Roleplay\nDeathmatch/TeamDeathmatch/Decostruction Derby\nFreeoram", "Select","");
            return 1;
        }
    }
    if(dialogid == 983) // 10941
    {
        if(response)
        {