Help with couple errors
#1

Код:
stock Tabu_GivePlayerWeapon(playerid,weaponid,ammo)
{
	new
		eile[350],
		rows;

	format( eile, sizeof( eile ), "SELECT * FROM `AC` WHERE `WeaponID` = %d AND `ID` = %d", weaponid, pInfo[ playerid ][ pMySQLID ] );
	mysql_query( eile );
	mysql_store_result( );
	rows = mysql_num_rows();
Dreamlife.pwn(117) : error 035: argument type mismatch (argument 1)
Dreamlife.pwn(118 ) : error 017: undefined symbol "mysql_store_result"
Dreamlife.pwn(119) : error 017: undefined symbol "mysql_num_rows"
Reply
#2

Quote:
Originally Posted by Erno.
Посмотреть сообщение
Код:
stock Tabu_GivePlayerWeapon(playerid,weaponid,ammo)
{
	new
		eile[350],
		rows;

	format( eile, sizeof( eile ), "SELECT * FROM `AC` WHERE `WeaponID` = %d AND `ID` = %d", weaponid, pInfo[ playerid ][ pMySQLID ] );
	mysql_query( eile );
	mysql_store_result( );
	rows = mysql_num_rows();
Dreamlife.pwn(117) : error 035: argument type mismatch (argument 1)
Dreamlife.pwn(118 ) : error 017: undefined symbol "mysql_store_result"
Dreamlife.pwn(119) : error 017: undefined symbol "mysql_num_rows"
Can you highlight the error lines?
Reply
#3

Код:
mysql_query( eile );
	mysql_store_result( );
	rows = mysql_num_rows();
One thing probably very important I forgot to say that I changed a plugin from g_stylez to blueg, probably all arguments isin't in right form can u say how to change in right and leave same funcionality?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)