SendEmail warning
#1

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.
Reply
#2

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

Show SendEmail function.
Reply
#4

Include
Reply
#5

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); 
Reply
#6

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


Forum Jump:


Users browsing this thread: 3 Guest(s)