How to set player money in MYSQL
#5

Quote:
Originally Posted by Mugala
Посмотреть сообщение
depends what you want to set. (probably server-sided)
P.S. you must set SQL table name and your decided params in this format. (copying this will not work)
PHP код:
new Query[1100];
    
strcat(Query,"UPDATE `users` SET  `Money` = '%i' WHERE `Username` = '%s'");
    
format(Query,sizeof(Query),Query,
    
pInfo[playerid][Money],
    
PlayerName(playerid));
    
mysql_tquery(handleQuery"""");
    
printf("%s"Query);
    return 
1;

Reply


Messages In This Thread
How to set player money in MYSQL - by Zeus666 - 13.04.2018, 20:54
Re: How to set player money in MYSQL - by Mugala - 13.04.2018, 21:02
Re: How to set player money in MYSQL - by Zeus666 - 13.04.2018, 21:03
Re: How to set player money in MYSQL - by Mugala - 13.04.2018, 21:04
Re: How to set player money in MYSQL - by Zeus666 - 13.04.2018, 21:06
Re: How to set player money in MYSQL - by Mugala - 13.04.2018, 21:07
Re: How to set player money in MYSQL - by Zeus666 - 13.04.2018, 21:10
Re: How to set player money in MYSQL - by Mugala - 13.04.2018, 21:12
Re: How to set player money in MYSQL - by Zeus666 - 13.04.2018, 21:15
Re: How to set player money in MYSQL - by Mugala - 13.04.2018, 21:17

Forum Jump:


Users browsing this thread: 2 Guest(s)