g_mysql_SaveVehicle function doesn't work
#1

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;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)