13.04.2018, 21:06
Quote:
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(handle, Query, "", "");
printf("%s", Query);
return 1;
}