22.11.2014, 01:31
i tried this :
But i get errors no active catche or invalid data type row or something like these...
The full script : http://pastebin.com/92AAb9m4
I want:
- To check in 'Accounts' if a player name [sBDetinator] exist , if no , to reset the sbusiness.
Код:
if(sBizz[IDSB][sBOwnable] == 1)
{
format( szQuery, 500, "SELECT * FROM `Accounts` WHERE `Name` = '%e' LIMIT 1;", sBizz[IDSB][sBDetinator] );
new Cache: result2 = mysql_query( SQL, szQuery );
new Get[ 2 ];
cache_get_data( Get[ 0 ], Get[ 1 ], SQL );
if( !Get[ 0 ] )
{
sBizz[IDSB][sBOwnable] = 0;
format( sBizz[IDSB][sBDetinator], 50, "No-One");
}
}
The full script : http://pastebin.com/92AAb9m4
I want:
- To check in 'Accounts' if a player name [sBDetinator] exist , if no , to reset the sbusiness.

