Does anyone know why this if statement is not working as its annoying me now.if its something small to fix it i do apologise.
Code:
char* Carif;
char* CarName;
CarName = _GET_LABEL_TEXT(GET_DISPLAY_NAME_FROM_VEHICLE_MODEL(GET_ENTITY_MODEL(GET_VEHICLE_PED_IS_IN(GET_PLAYER_PED(SelectPlayer), true))));
if (CarName == "Adder")
{
Carif = "true";
}
else
{
Carif = "false";
}