08.10.2018, 16:56
Quote:
The problem is not the query, but the code itself. It isn't even syntactically correct - you don't close brackets, you call functions that apparently don't exist in your includes, and it's also ugly (but that's not a syntax error).
|
I just need to fix this code. You see old and new inexistent functions because i started converting it to R41-4.
Just this part:
pawn Код:
vehicleid = CreateVehicle(cache_get_value_int(i, "VehicleModel", g_SQL),
cache_get_field_content_float(i, "VehicleParkPosX", g_SQL),
cache_get_field_content_float(i, "VehicleParkPosY", g_SQL),
cache_get_field_content_float(i, "VehicleParkPosZ", g_SQL),
cache_get_field_content_float(i, "VehicleParkPosA", g_SQL),
cache_get_field_content_int(i, "VehicleColor1", g_SQL),
cache_get_field_content_int(i, "VehicleColor2", g_SQL),
And i need help to fix it and maybe do a code re-vamp.