PutPlayerInVehicle(playerid,spawncar,0);
if(IsPlayerInVehicle == spawncar)
{
PutPlayerInVehicle(playerid,spawncar2,0);
}
else if(IsPlayerInVehicle == spawncar2)
{
PutPlayerInVehicle(playerid,spawncar3,0);
}
else if(IsPlayerInVehicle == spawncar3)
{
PutPlayerInVehicle(playerid,spawncar4,0);
}
und der fehler der angezeigt wird ist folgender
unzwar dreimal für jeden if befehl:error 076: syntax error in the expression, or invalid function call