22.07.2014, 09:06
Код:
forward SaveJobData(playerid); public SaveJobData(playerid) { mysql_format(Mysql_users, query, sizeof(query), "UPDATE `"DARBU_LENTELE"` SET Name='%e', Director='%e', Alternate='%e', Workers='%d', Rang1='%e', Rang2='%e', Rang3='%e', Rang4='%e', Pay='%d', Level='%d', Cash='%d', Cars='%d' WHERE JobID='%d'",\ JobData[playerid][Name], // 383 JobData[playerid][Director], JobData[playerid][Alternate], JobData[playerid][Workers], JobData[playerid][Rang1], JobData[playerid][Rang2], JobData[playerid][Rang3], JobData[playerid][Rang4], JobData[playerid][Pay], JobData[playerid][Level], JobData[playerid][Cash], JobData[playerid][Cars], JobData[playerid][JobID]); // 395 mysql_tquery(Mysql_users, query, "", ""); }