Error - Im not understanding why?
#3

Quote:
Originally Posted by Lynx.
Quote:

C:\Users\test.pwn(10617) : error 001: expected token: ")", but found "{"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Quote:

Line 10617:
public OnPlayerRegister(playerid, password[]
{
if(IsPlayerConnected(playerid))
{
MySQLCheckConnection();
new playername3[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername3, sizeof(playername3));
new newaccountsqlid = MySQLCreateAccount(playername3, password);
if (newaccountsqlid != 0)
{


Why am i getting an error?
Код:
public OnPlayerRegister(playerid, password[])
{
	if(IsPlayerConnected(playerid))
	{
		MySQLCheckConnection();
		new playername3[MAX_PLAYER_NAME];
		GetPlayerName(playerid, playername3, sizeof(playername3));
		new newaccountsqlid = MySQLCreateAccount(playername3, password);
		if (newaccountsqlid != 0)
You forgot a ) after password[].
Reply


Messages In This Thread
Error - Im not understanding why? - by Lynx. - 08.04.2009, 18:58
Re: Error - Im not understanding why? - by HB - 08.04.2009, 18:59
Re: Error - Im not understanding why? - by westre - 08.04.2009, 19:13
Re: Error - Im not understanding why? - by Lynx. - 08.04.2009, 20:08
Re: Error - Im not understanding why? - by Lynx. - 08.04.2009, 21:00
Re: Error - Im not understanding why? - by Rks25 - 08.04.2009, 21:29
Re: Error - Im not understanding why? - by Lynx. - 09.04.2009, 22:54

Forum Jump:


Users browsing this thread: 1 Guest(s)