Query
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
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).
This is an old code which i found from my old gamemode. And it doesn't need to be cute, we're not doing a Versace's parade.

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),
Is not converted yet.

And i need help to fix it and maybe do a code re-vamp.
Reply


Messages In This Thread
Query - by KinderClans - 08.10.2018, 13:48
Re: Query - by Dennis12 - 08.10.2018, 14:04
Re: Query - by KinderClans - 08.10.2018, 14:41
Re: Query - by KinderClans - 08.10.2018, 16:56
Re: Query - by NaS - 08.10.2018, 18:51
Re: Query - by KinderClans - 08.10.2018, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)