Annoy warnings
#1

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)
    {
Reply
#2

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.
Reply
#3

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

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

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

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)
        {
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)