SA-MP Forums Archive
SendEmail warning - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SendEmail warning (/showthread.php?tid=577967)



SendEmail warning - JoshNudock - 15.06.2015

Someone please help me? is giving errors, and resolve not know, it's kind of complex and I am amateur .. what should I do?

PHP код:
SendEmail(inputtext"NOME - Registro""EMAIL""Name: %s Senha: %d"GetName(playerid), PlayerInfo[playerid][pKey]); 
inputtext = email the player entered (his email)

Код HTML:
C:\Users\PabLo_2\Desktop\gamemode\gamemodes\BUL.pwn(22454) : warning 202: number of arguments does not match definition
C:\Users\PabLo_2\Desktop\gamemode\gamemodes\BUL.pwn(22454) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.



Re : SendEmail warning - Dutheil - 15.06.2015

What is the include ? Look in the include the function and her parameters.


Re: SendEmail warning - Sergei - 15.06.2015

Show SendEmail function.


Re: SendEmail warning - JoshNudock - 15.06.2015

Include


Re: SendEmail warning - amirab - 15.06.2015

God Damn it
you should do like this
PHP код:
new str[100];
format(str 100 ,  "Name: %s Senha: %d"GetName(playerid), PlayerInfo[playerid][pKey])
SendEmail(inputtext"NOME - Registro""EMAIL"str); 



Re : SendEmail warning - Dutheil - 15.06.2015

Look the parameters : SendEmail(Email[], Assunto[], Remetente[], Mensagem[])