I made a similar code a long time ago but I lost it, I'm trying to repeat it but it does not work out
When you get into the 425 vehicle, if you are a pilot, you must take it out of the vehicle, but nothing happens with this function that I did, thanks in advance for the help
When you get into the 425 vehicle, if you are a pilot, you must take it out of the vehicle, but nothing happens with this function that I did, thanks in advance for the help
Code:
if(GetVehicleModel(vehicleid) == 425,playerState == PLAYER_STATE_DRIVER)
{
if(gPilot[playerid] == IS_PILOT) return GameTextForPlayer(playerid, "~r~
You are not a pilot",3000,4),RemovePlayerFromVehicle(playerid);
}
return 1;
}