mysql question
#1

Hi guys I have one question about mySQL I have old gamemode where it uses


/*
SA-MP MySQL plugin R5
Copyright © 2008-2010, G-sTyLeZzZ
*/

mysql plugin, what would happen if i change it to new blue_style for example? It would crash or what?
Reply
#2

If you'd just swap things out then your gamemode wouldn't even compile. Changing from non-threaded to threaded is a huge undertaking which will easily take a few hours, especially in larger scripts. It is well worth the effort, though. Once you're used to it you'll notice it's actually easier.
Reply
#3

But it's worth it to change from that old plugin to latest, yes?
Reply
#4

Yes. It is.
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)