03.09.2016, 15:25
I have try to use timer to run this function, It's running Ok but g_myslq_savevehicle doesn't work. It's not saving vehicle status of player. I don't know why.
Код:
forward Luuphuongtien(playerid); public Luuphuongtien(playerid) { SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "Function Luuphuongtien running."); new vehicleid = GetPlayerVehicleID(playerid); new v = GetPlayerVehicle(playerid, vehicleid); if(v != -1) { g_mysql_SaveVehicle(playerid, v); } return 1; }