error 017: undefined symbol "HTTP"
#1

Код:
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"
Reply
#2

anyone help me here please
Reply
#3

PHP код:
#include <a_http> 
Reply
#4

Код:
./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
Reply
#5

https://sampwiki.blast.hk/wiki/HTTP
Read this brah.
Reply
#6

Код:
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
Reply
#7

SRSLY? are you trolling or something?
Reply
#8

its my problem bro i am not joking i need your help :3
Reply
#9

PHP код:
ShowPlayerDialog(playerid,RP_Q1,DIALOG_STYLE_LIST 
You dont know whats problem here?
Reply
#10

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)