Problem with mysql plugin
#7

Quote:
Originally Posted by TwinkiDaBoss
View Post
Well with Tquerries you need callbacks for your stuff.

Meaning for example
PHP Code:
new query[128];
mysql_format(mysql,query,sizeof(query),"UPDATE `something` SET `money`=%d WHERE `player`=%d",GetPlayerMoney(playerid),playerid);
mysql_tquery(mysql,query,"OnPlayerUpdateMoney","i",playerid);
forward OnPlayerUpdateMoney(playerid);
public 
OnPlayerUpdateMoney(playerid) {
    
SendClientMessage(playerid,COLOR_RED,"Your money has been updated");
    return 
1;

thank you for answer, but i need the plugin and .inc r6-2 for mysql plugin with no threads because i don't know how the threads works. Thank you.

The plugin is this:https://sampforum.blast.hk/showthread.php?tid=56564 but there isn't r6 there all r5 or r7
Reply


Messages In This Thread
Problem with mysql plugin - by holahola - 15.06.2016, 17:54
Re: Problem with mysql plugin - by F1N4L - 15.06.2016, 18:11
Re: Problem with mysql plugin - by holahola - 15.06.2016, 19:03
Re: Problem with mysql plugin - by F1N4L - 15.06.2016, 19:11
Re: Problem with mysql plugin - by holahola - 15.06.2016, 19:15
Re: Problem with mysql plugin - by TwinkiDaBoss - 15.06.2016, 20:39
Re: Problem with mysql plugin - by holahola - 16.06.2016, 10:24

Forum Jump:


Users browsing this thread: 1 Guest(s)