02.03.2012, 07:39
I'm using this include
[Include]My Mailer Include
Usage
it gives me this warning
[Include]My Mailer Include
Usage
PHP код:
SendMail( to[], sender_email[], sender_name[], subject[], message[] );
pawn Код:
case DIALOG_EMAIL:
{
if (!response) return ShowPlayerDialog(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT,""COL_WHITE"Email",""COL_GREEN"Type Your Email Here","Ok","");
if(response)
{
new string[256];
PlayerInfo[playerid][pMail] = strlen(inputtext);
format(string,sizeof(string),"%s","test@mail.ru", "Administration", "Registration Finished"," .... ",PlayerInfo[playerid][pMail]);
SendMail(string); // 1269
SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
PLAYERLOGGED[playerid] = 1;
}
return 1;
}
Код:
test.pwn(1269) : warning 202: number of arguments does not match definition