15.12.2011, 02:59
I have this piece of code here:
I am receiving the following error:
Now, this happens only when the code above is commented out- if it isn't, the compiler crashes.
Line 831 is this one:
Does anyone know why such an error would appear on that line?
pawn Code:
timer SendRegistrationEmail[3000](playerid)
{
new szString[750];
format(szString, sizeof(szString), "Hello there,<p>This email is to inform you that you have registered an account at %s (IP: %s), using the username %s.</p><p>We have recorded your IP address as %s and auto-login is not currently enabled. To enable it, please go in-game and do the command /accountsettings.</p><p><p>Please do not respond to this email, as it will not be sent to anyone.</p></p><p>Best Regards,</p><p>IG:RP Management</p>", SERVNAME, returnServerStringVar("bind"), GetName(playerid), returnIP(playerid));
SendMail(pStats[playerid][EP_EMAILADDR], "donotreply@server.inimical-gaming.com", "IG:RP Team", "Greetings From The IG:RP Team", szString);
}
Code:
C:\Users\Piccoli\Desktop\SA-MP 0.3d\gamemodes\IGRP.pwn(831) : error 075: input line too long (after substitutions)
Line 831 is this one:
pawn Code:
new szString[750];