Nic20113
Дебютант
Здравствуйте, уважаемые скриптеры. Прошу помочь с модом. Вот сама ошибка которую выдаёт при компиляции:
Выдаёт её, вот здесь:
Сама 2514:
PHP:
C:\Users\Nicholas\Documents\Samp Role Play Private Version 13.0\Samp Role Play Private Version 13.0\gamemodes\newmode.pwn(2514) : error 012: invalid function call, not a valid address
C:\Users\Nicholas\Documents\Samp Role Play Private Version 13.0\Samp Role Play Private Version 13.0\gamemodes\newmode.pwn(2514) : warning 215: expression has no effect
C:\Users\Nicholas\Documents\Samp Role Play Private Version 13.0\Samp Role Play Private Version 13.0\gamemodes\newmode.pwn(2514) : error 001: expected token: ";", but found ")"
C:\Users\Nicholas\Documents\Samp Role Play Private Version 13.0\Samp Role Play Private Version 13.0\gamemodes\newmode.pwn(2514) : error 029: invalid expression, assumed zero
C:\Users\Nicholas\Documents\Samp Role Play Private Version 13.0\Samp Role Play Private Version 13.0\gamemodes\newmode.pwn(2514) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP:
stock GetAccount(username[], obtaining[])
{
new Query[255];
format(Query, sizeof(Query), "SELECT %s FROM "TABLE_ACCOUNT" WHERE name = '%s' LIMIT 1", obtaining, username);
mysql_query(query);
mysql_store_result();
if(mysql_fetch_row(Query) == 1)
{
mysql_free_result();
return Query;
}
return Query;
}
PHP:
mysql_query(query);
