warning 217: loose indentation
#6

It should be like this

pawn Код:
public OnPlayerText(playerid, text[])
{
    if (realchat)
    {
        new sendername[MAX_PLAYER_NAME], string[128];
        GetPlayerName(playerid, sendername, sizeof(sendername));
        sendername[strfind(sendername,"_")] = ' ';
        format(string, sizeof(string), "%s Says: %s", sendername, text);
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        new lengthtime = strlen(text);
        new time = lengthtime*50;
        ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,time);
        return true;
        }
    return false;
}
Reply


Messages In This Thread
warning 217: loose indentation - by botak - 06.01.2014, 09:22
Re: warning 217: loose indentation - by CrazyGab - 06.01.2014, 09:27
Re: warning 217: loose indentation - by Sinner - 06.01.2014, 09:28
Re: warning 217: loose indentation - by botak - 06.01.2014, 09:31
Re: warning 217: loose indentation - by CrazyGab - 06.01.2014, 09:33
Re: warning 217: loose indentation - by denom - 06.01.2014, 09:34
Re: warning 217: loose indentation - by botak - 06.01.2014, 09:36

Forum Jump:


Users browsing this thread: 1 Guest(s)