04.05.2015, 20:18
I actually did try that, but that shouldn't be the issue tho since it's show for all of them
These were not updated
DestroyVehicle
AddStaticVehicle
now if i do this
The warnings go away, but since i'm waiting for an issue i'm having with ysi i can't test if that's a legit fix or not, i don't think it is tho.
Adding
Dosen't work either
Doing this
Gets rid of the warnings as well
Код:
C:\Users\Win7\Desktop\sa-mp 0.3.7\pawno\include\GetVehicleColor.inc(124) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle") C:\Users\Win7\Desktop\sa-mp 0.3.7\pawno\include\GetVehicleColor.inc(125) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx") C:\Users\Win7\Desktop\sa-mp 0.3.7\pawno\include\GetVehicleColor.inc(126) : warning 201: redefinition of constant/macro (symbol "CreateVehicle") C:\Users\Win7\Desktop\sa-mp 0.3.7\pawno\include\GetVehicleColor.inc(127) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle")
DestroyVehicle
AddStaticVehicle
now if i do this
PHP код:
#define n_CreateVehicle CreateVehicle
Adding
PHP код:
#include <a_samp>
Doing this
PHP код:
#if defined _ALS_CreateVehicle
#undef CreateVehicle
#else
#define _ALS_CreateVehicle
#endif