Problem with an IRC system
#1

Hello,when I compile G-IRC's FS I get the following warnings:

Код HTML:
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(690) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(709) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(754) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(765) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(780) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(787) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(801) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(904) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(906) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(907) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(910) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(911) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(914) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(920) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(927) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(928) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(937) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(947) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(950) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(966) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(983) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(985) : warning 217: loose indentation
C:\Users\LordH3ll\Desktop\Windows\filterscripts\irc.pwn(999) : warning 217: loose indentation
And here are the lines which are in the warnings:
690: {
709: return 1;
765: IRC_Notice(botid, user, "04 Made by Deron_Green and ejb ");
780: return 1;
787: new Float:x, Float:y, Float:z, string[100], str2[100];
801: new giveplayerid, ip[16], str[128];
904: return 1;
906: if(!IsPlayerConnected(id)) return IRC_Say(groupID, channel, "Invalid Player ID.");
907: {
910: IRC_Say(groupID, channel, string);
911: format(str1, sizeof(str1), ""HOT_PINK"PM From %s:"CWHITE" %s", user, str1);
914: return 1;
920: {
927: IRC_Say(groupID, channel, str2);
928: GetPlayerPos(id, x, y, z);
937: {
947: IRC_Say(groupID, ADMIN_CHANNEL, Mstr);
950: return 1;
966: IRC_Say(groupID, channel, str);
983: GetPlayerName(id, pname, sizeof(pname));
985: IRC_Say(groupID, channel, str);
999: if(!IsPlayerConnected(id)) return IRC_Say(groupID, channel, "Invalid Player ID");
If you need anything from the script, just ask.
Thank you.
Reply
#2

https://sampwiki.blast.hk/wiki/Errors_Li...se_indentation
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Problem fixed,thank you very much sir.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)