error 017: undefined symbol "HTTP" -
PrinceKumar - 08.11.2016
Код:
stock InvalidEmailCheck(playerid, email[])
{
new string[128];
if(GetPVarInt(playerid, "NullEmail") == 1)
{
SetPVarString(playerid, "pTmpEmail", email);
format(string, sizeof(string), "%s/checks/email.php?check=2&email=%s&id=%d", SAMP_WEB, email, GetPlayerSQLId(playerid));
HTTP(playerid, HTTP_GET, string, "", "OnInvalidEmailCheck");
}
else if(GetPVarInt(playerid, "NullEmail") == 2)
{
format(string, sizeof(string), "%s/checks/email.php?check=3&email=%s&id=%d", SAMP_WEB, email, GetPlayerSQLId(playerid));
HTTP(playerid, HTTP_GET, string, "", "OnInvalidEmailCheck");
DeletePVar(playerid, "pTmpEmail");
}
else if(GetPVarInt(playerid, "NullEmail") == 3)
{
ShowPlayerDialog(playerid, EMAIL_VALIDATION, DIALOG_STYLE_MSGBOX, "Email Verification", "Your email address is currently pending verification. Please check your email inbox.\n\nThe authorization code will automatically expire after one hour.", "Close", "");
}
else
{
SetPVarString(playerid, "pTmpEmail", email);
format(string, sizeof(string), "%s/checks/email.php?check=1&email=%s&id=%d", SAMP_WEB, email, GetPlayerSQLId(playerid));
HTTP(playerid, HTTP_GET, string, "", "OnInvalidEmailCheck");
}
return 1;
}
Код:
./includes/functions.pwn(21711) : error 017: undefined symbol "HTTP"
./includes/functions.pwn(21716) : error 017: undefined symbol "HTTP"
./includes/functions.pwn(21727) : error 017: undefined symbol "HTTP"
Re: error 017: undefined symbol "HTTP" -
PrinceKumar - 08.11.2016
anyone help me here please
Re: error 017: undefined symbol "HTTP" -
Pearson - 08.11.2016
PHP код:
#include <a_http>
Re: error 017: undefined symbol "HTTP" -
PrinceKumar - 08.11.2016
Код:
./includes/functions.pwn(21711) : warning 215: expression has no effect
./includes/functions.pwn(21716) : warning 215: expression has no effect
./includes/functions.pwn(21727) : warning 215: expression has no effect
help me bro we have a warnings
Re: error 017: undefined symbol "HTTP" -
Pearson - 08.11.2016
https://sampwiki.blast.hk/wiki/HTTP
Read this brah.
Re: error 017: undefined symbol "HTTP" -
PrinceKumar - 08.11.2016
Код:
ShowPlayerDialog(playerid,RP_Q1,DIALOG_STYLE_LIST
Line 67
Код:
./includes/OnDialogResponse.pwn(67) : warning 215: expression has no effect
./includes/OnDialogResponse.pwn(67) : warning 215: expression has no effect
./includes/OnDialogResponse.pwn(67) : warning 215: expression has no effect
./includes/OnDialogResponse.pwn(67) : warning 215: expression has no effect
./includes/OnDialogResponse.pwn(67) : warning 215: expression has no effect
./includes/OnDialogResponse.pwn(67) : error 001: expected token: ";", but found ")"
./includes/OnDialogResponse.pwn(67) : error 029: invalid expression, assumed zero
./includes/OnDialogResponse.pwn(67) : fatal error 107: too many error messages on one line
Re: error 017: undefined symbol "HTTP" -
Pearson - 08.11.2016
SRSLY? are you trolling or something?
Re: error 017: undefined symbol "HTTP" -
PrinceKumar - 08.11.2016
its my problem bro i am not joking i need your help :3
Re: error 017: undefined symbol "HTTP" -
Pearson - 08.11.2016
PHP код:
ShowPlayerDialog(playerid,RP_Q1,DIALOG_STYLE_LIST
You dont know whats problem here?
Re: error 017: undefined symbol "HTTP" -
PrinceKumar - 08.11.2016
i dont know :v i am noob about scripting i am newbie i am just using this account and this is my friend account i :v i dont know about on that xd so can you help me?